when a admin type /acmds
#5

its given me a errors Saw what i got

Код:
System.pwn(311) : error 017: undefined symbol "pInfo"
System.pwn(311) : warning 215: expression has no effect
System.pwn(311) : error 001: expected token: ";", but found "]"
System.pwn(311) : error 029: invalid expression, assumed zero
System.pwn(311) : fatal error 107: too many error messages on one line
and i type

PHP код:
CMD:acmds(playerid)
{
   if(
pInfo[playerid][AdminLevel] < 1)
   {
    
ShowPlayerDialog(playeridDIALOG_1DIALOG_STYLE_MSGBOX"Admin Commands Level 1","Soon Commands Added","Close");
   }
   if(
pInfo[playerid][AdminLevel] < 2)
   {
    
ShowPlayerDialog(playeridDIALOG_2DIALOG_STYLE_MSGBOX"Admin Commands Level 2","Soon Commands Added","Close");
   }
   if(
pInfo[playerid][AdminLevel] > 3)
   {
    
ShowPlayerDialog(playeridDIALOG_3DIALOG_STYLE_MSGBOX"Admin Commands Level 3","/Kick , Added More Soon","Close");
   }
   if(
pInfo[playerid][AdminLevel] > 4)
   {
    
ShowPlayerDialog(playeridDIALOG_4DIALOG_STYLE_MSGBOX"Admin Commands Level 4","/ban , Added More Soon","Close");
   }
   return 
1;

and up script i typed

Код:
#define DIALOG_1
#define DIALOG_2
#define DIALOG_3
#define DIALOG_4
Reply


Messages In This Thread
when a admin type /acmds - by RedRex - 21.05.2016, 14:17
Re: when a admin type /acmds - by SyS - 21.05.2016, 14:19
Re: when a admin type /acmds - by luke49 - 21.05.2016, 14:20
Re: when a admin type /acmds - by RedRex - 21.05.2016, 14:26
Re: when a admin type /acmds - by RedRex - 21.05.2016, 14:40
Re: when a admin type /acmds - by luke49 - 21.05.2016, 14:41
Re: when a admin type /acmds - by oMa37 - 21.05.2016, 14:43
Re: when a admin type /acmds - by RedRex - 21.05.2016, 14:45
Re: when a admin type /acmds - by luke49 - 21.05.2016, 14:48
Re: when a admin type /acmds - by Stinged - 21.05.2016, 15:14

Forum Jump:


Users browsing this thread: 1 Guest(s)