SA-MP Forums Archive
How to send massege to the player when he enter in sweeper ? - 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: How to send massege to the player when he enter in sweeper ? (/showthread.php?tid=457823)



How to send massege to the player when he enter in sweeper ? - bustern - 13.08.2013

hello.I have FS for street sweeper job.How to do that when a player enter in sweeper, server send a messege to him-
To start working type /sweeper


Re: How to send massege to the player when he enter in sweeper ? - JimmyCh - 13.08.2013

You will use the OnPlayerEnterVehicle function.

pawn Код:
if(GetVehicleModel(vehicleid) == 574)
{
SendClientMessage(playerid, 0xFFFFFFF, "Use /sweeper to start working!");
}



Re: How to send massege to the player when he enter in sweeper ? - bustern - 13.08.2013

Thx you dude