Error..
#3

Quote:
Originally Posted by KinderClans
View Post
I just read the code and i thought: What the hell is happening to my life

pawn Code:
CMD:vipcmds(playerid, params[])
{
    new info[250];
   
    switch (PlayerInfo[playerid][dRank])
    {
        case 1:
    {
        strcat(info, "Vip Commands (Level 1):\n\n");
        strcat(info, "{084B8A}/vheal ,/varmour ,/vheli ,/vskin ,/vcar\n");
        strcat(info, "/fr ,/v ,/vtime ,/vweather ,/vweap ,/vnos ,/vboat\n");
    }
   
        case 2:
    {
        strcat(info, "Vip Commands (Level 2):\n\n");
        strcat(info, "{084B8A}/vheal ,/varmour ,/vheli ,/vskin ,/vcar ,/vbike\n");
        strcat(info, "/fr ,/v ,/vtime ,/vweather ,/vweap ,/vnos\n");
        strcat(info, "/vcolor ,/vson ,/vsoff ,/vboat ,/armedvon ,/armedvoff\n");
    }
   
        case 3:
    {
        strcat(info, "Vip Commands (Level 3):\n\n");
        strcat(info, "{0080FF}/vheal ,/varmour ,/vheli ,/vskin ,/vcar ,/vbike\n");
        strcat(info, "/fr ,/v ,/vtime ,/vweather ,/vweap ,/vnos ,/vfix ,/vBoost\n");
        strcat(info, "/vcolor ,/vammo ,/vson ,/vsoff ,/vboat ,/armedvon ,/armedvoff\n");
    }
   
    }
   
    ShowPlayerDialog(playerid, 5050, DIALOG_STYLE_MSGBOX, "VIP Commands", info, "Close", "");
    return 1;
}
thanks but all my codes in OnDialogResponse Bugged and give error:
Code:
(3722) : error 079: inconsistent return types (array & non-array)
(3771) : error 079: inconsistent return types (array & non-array)
(3785) : error 079: inconsistent return types (array & non-array)
(3797) : error 079: inconsistent return types (array & non-array)
(3799) : error 079: inconsistent return types (array & non-array)
(3857) : error 079: inconsistent return types (array & non-array)
(3889) : error 079: inconsistent return types (array & non-array)
(3910) : error 079: inconsistent return types (array & non-array)
(3957) : error 079: inconsistent return types (array & non-array)
(4007) : error 079: inconsistent return types (array & non-array)
(4034) : error 079: inconsistent return types (array & non-array)
(4056) : error 079: inconsistent return types (array & non-array)
(4080) : error 079: inconsistent return types (array & non-array)
(4090) : error 079: inconsistent return types (array & non-array)
(4104) : error 079: inconsistent return types (array & non-array)
(4114) : error 079: inconsistent return types (array & non-array)
(4115) : error 079: inconsistent return types (array & non-array)
(4116) : error 079: inconsistent return types (array & non-array)
(4131) : error 079: inconsistent return types (array & non-array)
(4137) : error 079: inconsistent return types (array & non-array)
(4138) : error 079: inconsistent return types (array & non-array)
(4139) : error 079: inconsistent return types (array & non-array)
(4156) : error 079: inconsistent return types (array & non-array)
(4162) : error 079: inconsistent return types (array & non-array)
(4163) : error 079: inconsistent return types (array & non-array)
(4164) : error 079: inconsistent return types (array & non-array)

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply


Messages In This Thread
Error.. - by Vizi10 - 09.10.2018, 19:01
Re: Error.. - by KinderClans - 09.10.2018, 19:38
Re: Error.. - by Vizi10 - 09.10.2018, 20:57
Re: Error.. - by v1k1nG - 09.10.2018, 22:46
Re: Error.. - by KinderClans - 09.10.2018, 23:10
Re: Error.. - by khRamin78 - 10.10.2018, 00:48

Forum Jump:


Users browsing this thread: 2 Guest(s)