Sending message after... - 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: Sending message after... (
/showthread.php?tid=438781)
Sending message after... -
Onfroi - 22.05.2013
Hello, how can I send messages to a player after player spawns from logging-in and not spawned from death?
Thanks!
Re: Sending message after... -
moadi - 22.05.2013
Quote:
public OnPlayerConnect(playerid)
|
https://sampwiki.blast.hk/wiki/OnPlayerConnect
Re: Sending message after... -
Onfroi - 22.05.2013
Quote:
Originally Posted by moadi
|
I guess you didn't understand, I meant when a player spawns after he connects to a server and not send the message after the player dies.
Respuesta: Sending message after... -
LoLeRo - 22.05.2013
Search in your script a function like "OnPlayerLogin(playerid)" or "LoginPlayer(playerid)",etc.
Just add a line there with the native: SendClientMessage. For sending the message.