10.11.2012, 21:21
Hi everyone, i'm trying to create a car /park command but i don't think it works properly it just don't save the position
am i doing something wrong??
Код:
{ new Float:Veh1_x, Float:Veh1_y, Float:Veh1_z; GetVehiclePos(playerid,Veh1_x,Veh1_y,Veh1_z); PlayerInfo[playerid][pVeh1_x] = Veh1_x; PlayerInfo[playerid][pVeh1_y] = Veh1_y; PlayerInfo[playerid][pVeh1_z] = Veh1_z; SaveAccountStats(playerid); GameTextForPlayer(playerid,"~h~~w~Your car have been parked here! Next time it will spawn~n~~h~~w~~h~~r~ here!",2500,1); return 1; }