SA-MP Forums Archive
can someone help me with two commands? - 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: can someone help me with two commands? (/showthread.php?tid=416383)



can someone help me with two commands? - Ananisiki - 17.02.2013

~~~~~~~~


Re: can someone help me with two commands? - JaKe Elite - 17.02.2013

pawn Код:
public OnPlayerConnect(playerid)
{
isDead[playerid] = 1;
playersConnected++;
new string[256];
SendClientMessage(playerid, 0xFF9900AA, "Welcome To The Server, Type /cmds To See A List Of Available Commands.");
new playerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, playerName, sizeof(playerName));
if(!IsPlayerNPC(playerid)) format(string, sizeof(string), "%s (%d) Has Joined The Server.", playerName, playerid);
else format(string, sizeof string, "NPC %s (%d) Has Joined The Server.", playerName, playerid);
SendClientMessageToAll(0xA6A6A600, string);
return 1;
}



Re: can someone help me with two commands? - Ananisiki - 17.02.2013

~~~~~~~~


Re: can someone help me with two commands? - Ananisiki - 18.02.2013

~~~~~~~~