SA-MP Forums Archive
SKIN - 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: SKIN (/showthread.php?tid=305664)



SKIN - Gooday - 23.12.2011

How i can reserve a car for a skin?
example Skin 50 the towtruck and the others skins cant enter it?
+REP!


Re: SKIN - vassilis - 23.12.2011

pawn Код:
OnPlayerEnterVehicle callback

new gskin;
gskin = GetPlayerSkin(playerid);
if(!IsPlayerInVehicle(playerid,towtruck vehicleid) && if(gskin == 50)); return RemovePlayerFromVehicle(playerid);

etc
not sure