Quote:
Originally Posted by [HK]Ryder[AN]
If by that you require to save someone's position, you can do it like this
pawn Код:
//On top of your script, outside a callback new Float:SaveX[MAX_PLAYERS], Float:SaveY[MAX_PLAYERS], Float:SaveZ[MAX_PLAYERS];
//Later on stock SavePlayerPos(playerid) { GetPlayerPos(playerid, SaveX[playerid], SaveY[playerid], SaveZ[playerid]; return 1; }
Their position will be saved in them values
|
But how will they spawn at the earlier location they spawned at when they connected before doing /jdm for example?