09.11.2016, 16:47
Hi,
When this callback called, i could get player pos, or i need set timer?
When this callback called, i could get player pos, or i need set timer?
public OnPlayerSpawn(playerid)
{
new Float:x,Float:y,Float:z; //float variables that will store the player's coords
GetPlayerPos(playerid,x,y,z); //gets the coords and stores them in the float variables
//other code here
return 1;
}