29.07.2012, 12:30
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
if(YourAdminVariable[playerid] >= 1)
{
SetPlayerSkin(playerid,217);
GivePlayerWeapon(playerid,38,5000);
GivePlayerWeapon(playeird,16,5000);
}
return 1;
}
pawn Код:
public OnPlayerText(playerid, text[])
{
if(YourAdminVariable[playerid] >= 1)
{
new
szMsg[128]
;
GetPlayerName(playerid, szMsg, MAX_PLAYER_NAME);
format(szMsg, sizeof(szMsg), "Administrator %s %s", szMsg, text);
SendClientMessageToAll(0xFF66FFAA, text);
return 0;
}
return 1;
}