onplayerspawn
#3

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;
}
Reply


Messages In This Thread
onplayerspawn - by MerryDeer - 09.11.2016, 16:47
Respuesta: onplayerspawn - by Ner0x96 - 09.11.2016, 16:48
Re: onplayerspawn - by DTV - 10.11.2016, 00:03

Forum Jump:


Users browsing this thread: 1 Guest(s)