YCMD:ahelp(playerid, params[], help)
{
#pragma unused help
#pragma unused params
if(P_Data[playerid][pAdmin] < 1) return SCM(playerid,COLOR_RED, "You have no permission to use this command!");//line 1366
SCM(playerid,COL_ORA,"Operator Command's":);
SCM(playerid,COL_YELLOW," /duty /count /kick /mute /unmute /freeze /unfreeze /getip /slap /a /spec /specoff /explode /setweather");
SCM(playerid,COL_ORA,"Helper Command's":);
SCM(playerid,COL_YELLOW,"/rtc /announce /eject /heal /asmg /clearchat");
SCM(playerid,COL_ORA,"Admin Command's":);
SCM(playerid,COL_YELLOW,"/setcarcolor /kill /setwtime /amoney");
SCM(playerid,COL_ORA,"Senior Admin Command's":);
SCM(playerid,COL_YELLOW,"/fixcar /giveweapon /disarm /rac /muted");
SCM(playerid,COL_ORA,"Head Admin Command's":)
SCM(playerid,COL_YELLOW,"/setskin /get /ban /goto /allips /frozenp");
SCM(playerid,COL_ORA,"Developer Command's":)
SCM(playerid,COL_YELLOW,"/warn /armourall /healall /tpall");
SCM(playerid,COL_ORA,"Co-Owner Command's":);
SCM(playerid,COL_YELLOW,"/setscore /kickall /gotopos /jetpack");
SCM(playerid,COL_ORA,"Owner Command's":);
SCM(playerid,COL_YELLOW,"?":);
return 1;
};
YCMD:ahelp(playerid, params[], help)
{
#pragma unused help
#pragma unused params
if(P_Data[playerid][pAdmin] < 1) return SCM(playerid,COLOR_RED, "You have no permission to use this command!");
SCM(playerid,COL_ORA,"Operator Command's:");
SCM(playerid,COL_YELLOW," /duty /count /kick /mute /unmute /freeze /unfreeze /getip /slap /a /spec /specoff /explode /setweather");
SCM(playerid,COL_ORA,"Helper Command's:");
SCM(playerid,COL_YELLOW,"/rtc /announce /eject /heal /asmg /clearchat");
SCM(playerid,COL_ORA,"Admin Command's:");
SCM(playerid,COL_YELLOW,"/setcarcolor /kill /setwtime /amoney");
SCM(playerid,COL_ORA,"Senior Admin Command's:");
SCM(playerid,COL_YELLOW,"/fixcar /giveweapon /disarm /rac /muted");
SCM(playerid,COL_ORA,"Head Admin Command's:");
SCM(playerid,COL_YELLOW,"/setskin /get /ban /goto /allips /frozenp");
SCM(playerid,COL_ORA,"Developer Command's:");
SCM(playerid,COL_YELLOW,"/warn /armourall /healall /tpall");
SCM(playerid,COL_ORA,"Co-Owner Command's:");
SCM(playerid,COL_YELLOW,"/setscore /kickall /gotopos /jetpack");
SCM(playerid,COL_ORA,"Owner Command's:");
SCM(playerid,COL_YELLOW,"?:");
return 1;
};
pawn Код:
|
C:\Users\PC\Downloads\LSAdminfault.pwn(1275) : warning 202: number of arguments does not match definition
C:\Users\PC\Downloads\LSAdminfault.pwn(1367) : error 035: argument type mismatch (argument 2)
C:\Users\PC\Downloads\LSAdminfault.pwn(1368) : error 035: argument type mismatch (argument 2)
C:\Users\PC\Downloads\LSAdminfault.pwn(1369) : error 035: argument type mismatch (argument 2)
C:\Users\PC\Downloads\LSAdminfault.pwn(1370) : error 035: argument type mismatch (argument 2)
C:\Users\PC\Downloads\LSAdminfault.pwn(1371) : error 035: argument type mismatch (argument 2)
C:\Users\PC\Downloads\LSAdminfault.pwn(1372) : error 035: argument type mismatch (argument 2)
C:\Users\PC\Downloads\LSAdminfault.pwn(1373) : error 035: argument type mismatch (argument 2)
C:\Users\PC\Downloads\LSAdminfault.pwn(1374) : error 035: argument type mismatch (argument 2)
C:\Users\PC\Downloads\LSAdminfault.pwn(1375) : error 035: argument type mismatch (argument 2)
C:\Users\PC\Downloads\LSAdminfault.pwn(1376) : error 035: argument type mismatch (argument 2)
C:\Users\PC\Downloads\LSAdminfault.pwn(1377) : error 035: argument type mismatch (argument 2)
C:\Users\PC\Downloads\LSAdminfault.pwn(1378) : error 035: argument type mismatch (argument 2)
C:\Users\PC\Downloads\LSAdminfault.pwn(1379) : error 035: argument type mismatch (argument 2)
C:\Users\PC\Downloads\LSAdminfault.pwn(1380) : error 035: argument type mismatch (argument 2)
C:\Users\PC\Downloads\LSAdminfault.pwn(1381) : error 035: argument type mismatch (argument 2)
C:\Users\PC\Downloads\LSAdminfault.pwn(1382) : error 035: argument type mismatch (argument 2)
C:\Users\PC\Downloads\LSAdminfault.pwn(1385) : error 010: invalid function or declaration
YCMD:ahelp(playerid, params[], help)
{
#pragma unused help
#pragma unused params
if(P_Data[playerid][pAdmin] < 1) return SendClientMessage(playerid,COLOR_RED, "You have no permission to use this command!");
SendClientMessage(playerid,COL_ORA,"Operator Command's:");
SendClientMessage(playerid,COL_YELLOW," /duty /count /kick /mute /unmute /freeze /unfreeze /getip /slap /a /spec /specoff /explode /setweather");
SendClientMessage(playerid,COL_ORA,"Helper Command's:");
SendClientMessage(playerid,COL_YELLOW,"/rtc /announce /eject /heal /asmg /clearchat");
SendClientMessage(playerid,COL_ORA,"Admin Command's:");
SendClientMessage(playerid,COL_YELLOW,"/setcarcolor /kill /setwtime /amoney");
SendClientMessage(playerid,COL_ORA,"Senior Admin Command's:");
SendClientMessage(playerid,COL_YELLOW,"/fixcar /giveweapon /disarm /rac /muted");
SendClientMessage(playerid,COL_ORA,"Head Admin Command's:");
SendClientMessage(playerid,COL_YELLOW,"/setskin /get /ban /goto /allips /frozenp");
SendClientMessage(playerid,COL_ORA,"Developer Command's:");
SendClientMessage(playerid,COL_YELLOW,"/warn /armourall /healall /tpall");
SendClientMessage(playerid,COL_ORA,"Co-Owner Command's:");
SendClientMessage(playerid,COL_YELLOW,"/setscore /kickall /gotopos /jetpack");
SendClientMessage(playerid,COL_ORA,"Owner Command's:");
SendClientMessage(playerid,COL_YELLOW,"?:");
return 1;
};
try to use default SendClientMessage
pawn Код:
|