SA-MP Forums Archive
ugh i got a newbie question 8D - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ugh i got a newbie question 8D (/showthread.php?tid=145663)



ugh i got a newbie question 8D - Micko9 - 03.05.2010

this didn't work....the code :
Код:
OnPlayerEnterVehice(playerid,vehicleid)
{
	if (GetVehicleModel(vehicleid) == 451 && !strcmp("[TdB]Ceka",PlayerName(playerid))) return RemovePlayerFromVehicle(playerid);
return 1;
}



Re: ugh i got a newbie question 8D - JC-Cooper - 03.05.2010

Try this http://forum.sa-mp.com/index.php?topic=171028.0




Re: ugh i got a newbie question 8D - ettans - 03.05.2010

Using return won't do anything, use RemovePlayerFromVehicle instead.