28.06.2013, 13:36
PHP код:
dcmd_adcmds(playerid,params[])
{
#pragma unused params
if(AdminLevel[playerid] == 1)
{
ShowPlayerDialog(playerid,DIALOG_ADCMDS,DIALOG_STYLE_MSGBOX,"{10F441}ADMINISTRATOR Level 1 COMMANDS:","{FFFFFF}/adcmds /ad(un)mute /adwarn /ad [msg] /ad(un)jail /onduty /offduty /web /spec(off) /adinfo /ac","Ok","Cancel");
}
if(AdminLevel[playerid] == 2)
{
ShowPlayerDialog(playerid,DIALOG_ADCMDS,DIALOG_STYLE_MSGBOX,"{10F441}ADMINISTRATOR Level 2 COMMANDS:","{FFFFFF}/adcmds /ad(un)mute /adwarn /ad [msg] /ad(un)jail /onduty /offduty /web /spec(off) /adinfo /ac /ad(un)freeze /adkick /adkill /disarm /adjetpack /adheal /adcure /slap","Ok","Cancel");
}
if(AdminLevel[playerid] == 3)
{
ShowPlayerDialog(playerid,DIALOG_ADCMDS,DIALOG_STYLE_MSGBOX,"{10F441}ADMINISTRATOR Level 3 COMMANDS:","{FFFFFF}/adcmds /ad(un)mute /adwarn /ad [msg] /ad(un)jail /onduty /offduty /web /spec(off) /adinfo /ac\n /ad(un)freeze /adkick /adkill /disarm /adjetpack /adheal /adcure /slap\n /adan /goto /bring /setrp /takerp /adgc /tprpl /tpadmin /settrp /taketrp\n /ad(un)ban /setarmy /takearmy /setcia /takecia","Ok","Cancel");
}
if(AdminLevel[playerid] >= 4)
{
ShowPlayerDialog(playerid,DIALOG_ADCMDS,DIALOG_STYLE_MSGBOX,"{10F441}ADMINISTRATOR Level 4+ COMMANDS:","{FFFFFF}/adcmds /ad(un)mute /adwarn /ad [msg] /ad(un)jail /onduty /offduty /web /spec(off) /adinfo /ac\n /ad(un)freeze /adkick /adkill /disarm /adjetpack /adheal /adcure /slap\n /adan /goto /bring /setrp /takerp /adgc /tprpl /tpadmin /settrp /taketrp\n /ad(un)ban /setarmy /takearmy /setcia /takecia\n /adblow /setscore /setcoprank /setrobskill /settrskill\n /setbank /adgw /setvip /setbcards","Ok","Cancel");
}
return 1;
}
PHP код:
D:\Games\GTA SA\MyEgy.CoM.GTA.S.A\SFCRRPGv1.1\LVCNR\gamemodes\SFCRRPG.pwn(5729) : error 075: input line too long (after substitutions)
D:\Games\GTA SA\MyEgy.CoM.GTA.S.A\SFCRRPGv1.1\LVCNR\gamemodes\SFCRRPG.pwn(5730) : error 037: invalid string (possibly non-terminated string)
D:\Games\GTA SA\MyEgy.CoM.GTA.S.A\SFCRRPGv1.1\LVCNR\gamemodes\SFCRRPG.pwn(5730) : error 017: undefined symbol "C"
D:\Games\GTA SA\MyEgy.CoM.GTA.S.A\SFCRRPGv1.1\LVCNR\gamemodes\SFCRRPG.pwn(5731) : error 017: undefined symbol "ancel"
D:\Games\GTA SA\MyEgy.CoM.GTA.S.A\SFCRRPGv1.1\LVCNR\gamemodes\SFCRRPG.pwn(5731) : warning 215: expression has no effect
D:\Games\GTA SA\MyEgy.CoM.GTA.S.A\SFCRRPGv1.1\LVCNR\gamemodes\SFCRRPG.pwn(5731) : error 001: expected token: ";", but found ")"
D:\Games\GTA SA\MyEgy.CoM.GTA.S.A\SFCRRPGv1.1\LVCNR\gamemodes\SFCRRPG.pwn(5731) : error 029: invalid expression, assumed zero
D:\Games\GTA SA\MyEgy.CoM.GTA.S.A\SFCRRPGv1.1\LVCNR\gamemodes\SFCRRPG.pwn(5731) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
7 Errors.