help with cars
#1

hi,how i can do /savecarposition command in game
and delcarposition and after the reset of the server it will save all the cars that i saved and will be on the server?.

i maked it but it not save the cars after the reset of the server
that what i make :

Quote:

if(strcmp(cmdtext,"/parkcar", true) == 0)
{
new vehicleid;
vehicleid = GetPlayerVehicleID(playerid);
new Float,Float:y,Float:z;
GetVehiclePos(vehicleid, x, y, z);
GetPlayerVehicleID(playerid);
SetVehiclePos(vehicleid, x, y, z);
return 1;
}

any suggestion how i can fix it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)