Text after spawn for a class. - 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: Text after spawn for a class. (
/showthread.php?tid=92921)
Text after spawn for a class. -
Puzi - 22.08.2009
Hey there,
I would like to know whether its possible or how to make a script so for example when a Taxi Driver spawns it will say what commands are available to him. For example:
You are now a Taxi Driver!
Available commands: /taxi-duty
I have the /taxi-duty command, so don't worry about that. Please help

I will appreciate the help alot
Thanks and Regards
Puzi
Re: Text after spawn for a class. -
timmehhh - 22.08.2009
OnPlayerSpawn...
Check if it has a taxi skin if yes then sendclientmessage what you want if not, do nothing...
Re: Text after spawn for a class. -
HuRRiCaNe - 22.08.2009
under onplayerspawn
pawn Код:
if(GetPlayerSkin(playerid) == (your taxi skin))
{
//here you send meesagges or something
return 1;
}