08.10.2013, 19:38
PHP код:
public OnPlayerDisconnect(playerid, reason)
{
new
string[64],
name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,MAX_PLAYER_NAME);
switch(reason)
{
case 0: format(string,sizeof string,"%s partió del server. (Crash)",name);
case 1: format(string,sizeof string,"%s partió del server. (Salio)",name);
case 2: format(string,sizeof string,"%s partió del server. (Kick/Ban)",name);
}
SendClientMessageToAll(0xFFFFFFAA,string);
}
PHP код:
C:\Users\HENRI\Desktop\test\SAMP\gamemodes\DarylMode.pwn(68) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.