25.05.2010, 21:58
SOLVED
Originally Posted by Sascha
Hi...
I wanted to save a player position, to reload it later... Код:
new Float:x, Float:y, Float:z; GetPlayerPos(playerid,x,y,z); PlayerData[playerid][coord[1]] = x; PlayerData[playerid][coord[2]] = y; PlayerData[playerid][coord[3]] = z; (defined as under enum with: coord[3] |
GetPlayerPos(playerid, PlayerData[playerid][coord][0], PlayerData[playerid][coord][1], PlayerData[playerid][coord][2]);