10.05.2011, 08:57
Was just trying out zcmd and got stuck here :
Any help will be appreciated.
pawn Код:
command(ipwn, playerid, params[])
{
new string[128];
new sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));
if(PlayerInfo[playerid][pAdmin] == 10)
{
format(string,sizeof,(string),"%s PWNS!!!",sendername);
SendClientMessageToAll(COLOR_BLUE,string);
}
else
{
SendClientMessage(playerid, COLOR_BLUE, "Fuck Off, this cmd is for anant only.");
}
return 1;
}
Код:
Current directory: D:\VERY IMPORTANT STUFF\SA-MP Scripts\EL-RP\gamemodes el-rp.pwn(50587) : error 020: invalid symbol name "" el-rp.pwn(50587) : warning 215: expression has no effect el-rp.pwn(50587) : warning 215: expression has no effect el-rp.pwn(50587) : warning 215: expression has no effect el-rp.pwn(50587) : error 001: expected token: ";", but found ")" el-rp.pwn(50587) : error 029: invalid expression, assumed zero el-rp.pwn(50587) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. ================ READY ================