Check if player is spawned
#3

On the top of your script add:

PHP Code:
new Spawned[MAX_PLAYERS]; 
OnPlayerConnect add:
PHP Code:
Spawned[playerid] = 0
OnPlayerSpawn add:
PHP Code:
Spawned[playerid] = 1
And if you don't mind post your paycheck code, if you understand above just add this:
PHP Code:
if(Spawned[playerid] == 1)
{
 
//PAYCHECK CODE

Reply


Messages In This Thread
Check if player is spawned - by Sting. - 18.01.2018, 18:34
Re: Check if player is spawned - by Pravin - 18.01.2018, 18:47
Re: Check if player is spawned - by aoky - 18.01.2018, 18:59
Re: Check if player is spawned - by Ritzy2K - 18.01.2018, 19:03
Re: Check if player is spawned - by Sting. - 18.01.2018, 19:16

Forum Jump:


Users browsing this thread: 4 Guest(s)