SA-MP Forums Archive
OnPlayerSpawn Callback Error T.T - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnPlayerSpawn Callback Error T.T (/showthread.php?tid=364255)



OnPlayerSpawn Callback Error T.T - sdg9670 - 30.07.2012

Players Death.. - > 'OnPlayerSpawn' Don't Call
Players Don't Death - > 'OnPlayerSpawn' Call...

EX)
public OnPlayerDeath(playerid, killerid, reason)
{
//empty
return 1;
}

public OnPlayerSpawn(playerid)
{
printf("Check");
return 1;
}

PlayerDeath -> OnPlayerDeath [Call] -> OnPlayerSpawn [Not Call]
Once Not PlayerDeath -> OnPlayerDeath [Call] -> OnPlayerSpawn [Call]

Help me T.T


Re: OnPlayerSpawn Callback Error T.T - Devilxz97 - 30.07.2012

remove that printf("Check");