SA-MP Forums Archive
[HELP]Job - 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: [HELP]Job (/showthread.php?tid=169110)



[HELP]Job - Thebest96 - 18.08.2010

Yo sorry, again but i want know:

When a player enter in bus, the Bus don't work and show a menu, or a Message
How to do this?
Or when a player enter in bus show a menu.


Re: [HELP]Job - Thebest96 - 18.08.2010

Please fast


Re: [HELP]Job - billiout - 18.08.2010

onplayerstatechange

Код:
if(newstate == PLAYER_STATE_DRIVER)
{
   if(GetPlayerVehicleID == 431)
   {
   TogglePlayerControllable(playerid,0);
   SendClientMessage(playerid,YOUR_COLOR,"Your msg here");
   }
}
this is for how to create a menu https://sampwiki.blast.hk/wiki/Creating_a_simple_Menu


Re: [HELP]Job - Thebest96 - 18.08.2010

Thanks. i love u


Re: [HELP]Job - Cameltoe - 18.08.2010

Don't double post after 10 mins.. the rules say you have to wait 12 hours!