Problem with command - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Problem with command (
/showthread.php?tid=651794)
Problem with command -
Filip21 - 27.03.2018
Okay, so I have a problem, I made the vipname command and the problem is that if you give /vipname on a personal car it says I'm not in one.
PHP Code:
new PlayerSlot = playerVariables[playerid][VehicleSlot];
if(PVeh[PlayerSlot][playerid][Vehicle] != vehicleid) return SCM(playerid, COLOR_GREY, "You have to be in your personal vehicle!");
I do not understand what the problem would be, at this restriction I took the command / park and it works properly .