18.11.2010, 23:26
ok ok, I know this is a noob question ^^
pawn Код:
#include <a_samp>
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/welcome", cmdtext, true, 10) == 0)
{
if(IsPlayerAdmin(playerid))
{
GameTextForPlayer(playerid, "~r~Welcome~n~~g~To~n~~b~Larsey123's Server!", 2500, 5); //When i type /Welcome then should the text show up like evryone can see it
return 1;
}
}
return 0;
}