Quote:
Originally Posted by [A]ndrei
just use this
pawn Код:
if(strcmp("/s", cmdtext, true, 10) == 0) { GetPlayerPos(playerid, Pos[playerid][0], Pos[playerid][1], Pos[playerid][2]); SendClientMessage(playerid, 0x00FF44, "[SERVER]: Your position has been saved. Use /l to load it."); return 1; } if(strcmp("/l", cmdtext, true, 10) == 0) { SetPlayerPos(playerid, Pos[playerid][0], Pos[playerid][1], Pos[playerid][2]); SendClientMessage(playerid, 0x00FF44, "[SERVER]: Your position has been loaded."); return 1; }
|
as far as i see it will only save for the current position in-game.. not for always the player joins..