02.04.2015, 02:19
It's very simple I guess (if you know it)
The code is as following:
Just very simple, when you login and spawn, it displays a message "Welcome" for 2 and an half second.
But somehow, when I die, i.e I type /kill, or /spawnplayer, I get that "Welcome" message again.
I just want that "Welcome" message when a player logs in and spawns.
The code is as following:
PHP код:
public OnPlayerSpawn(playerid)
{
GameTextForPlayer(playerid, "Welcome!", 2500, 3);
return 1;
}
But somehow, when I die, i.e I type /kill, or /spawnplayer, I get that "Welcome" message again.
I just want that "Welcome" message when a player logs in and spawns.