Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

2 answers to this question

Recommended Posts

  • 0
Posted

Salut, dupa ce ai folosit comanda folosesti UsedFind[playerid] = 300//5 minute; dupa ce ai declarat-o la  inceputul gmului 

New UsedFind [MAX_PLAYERS]; 

Apoi la OnPlayerConnect pui UsedFind[playerid] =0;

la un tiner de o secunsa pui UsedFind =0;

La public MoneyTimer e de o secunda daca nu il ai cauta altul la Ongamemodeinit 

 

  • Upvote 1

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
  • 0
Posted (edited)

Salut, dupa ce ai folosit comanda folosesti UsedFind[playerid] = 300//5 minute; dupa ce ai declarat-o la  inceputul gmului 

New UsedFind [MAX_PLAYERS]; 

Apoi la OnPlayerConnect pui UsedFind[playerid] =0;

la un tiner de o secunsa pui UsedFind =0;

La public MoneyTimer e de o secunda daca nu il ai cauta altul la Ongamemodeinit 

 

Mai simplu asa:

 New UsedFind [MAX_PLAYERS]; 

Apoi la OnPlayerConnect pui UsedFind[playerid] =0;

 

//Adaugi astea la comanda:

if(UsedFind[playerid] == 1) return SendClientMessage(playerid, -1,"Text Message");

UsedFind[playerid] = 1;

SetTimerEx("timer", 60000, false, "i", playerid);

// Si undeva mai jos, unde vrei:

forward timer(playerid);

public timer(playerid)

{

     UsedFind[playerid] = 0;

     return 1;

}

 

Edited by DyK
code

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.