25.01.2015, 01:32
Quote:
Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success) { if(!success) SendClientMessage(playerid, COLOR_NEWS, "Error: That command does not exist. Refer to /help for server commands."); return 1; } |
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success)
return SendClientMessage(playerid, COLOR_NEWS, "Error: That command does not exist. Refer to /help for server commands."), 0;
return 1;
}