help with cars - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help with cars (
/showthread.php?tid=593491)
help with cars -
undeteker - 06.11.2015
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?