10.11.2016, 00:03
GetPlayerPos should work fine with OnPlayerSpawn. If you're not sure what to do:
pawn Код:
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;
}