Problem with /car command - 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: Problem with /car command (
/showthread.php?tid=566939)
Problem with /car command -
Sc0pion - 09.03.2015
Fixed!
Re: Problem with /car command -
Nicker - 09.03.2015
pawn Код:
if(AccInfo[playerid][pCar] != -1 && !IsPlayerAdmin(playerid))
EraseVeh(AccInfo[playerid][pCar]);
Here, you're destroying vehicles if players aren't RCON admins. Remove this part of your code.