Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Message Spamming Problem

$
0
0
i have scripted sendclientmessage in onplayerspawn

and whenever i spawned that msg repeated again and again i just want it to be only show one time when player click spawn button

Code:

public OnPlayerSpawn(playerid)
{
        SendClientMessage(playerid, COLOR_WHITE, "Welcome To The {FF6600}Dark Mapping Server{FFFFFF}");
        SendClientMessage(playerid, COLOR_WHITE, "Type {FF6600}/help {FFFFFF}to see server commands");
        return 1;
}


i want this message to be appeared only one time when i spawned not again and again

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>