[ZCMD] Need help
#1

pawn Код:
else if(dialogid == LosSantosTeleportsDialog)
    {
        if(!response) return ShowPlayerDialog(playerid,TeleportDialog, DIALOG_STYLE_LIST,"Teleports","Los Santos\r\nSan Fierro\r\nLas Venturas\r\nBone County\r\nStunts\r\nDeathmatch arena's\r\nRace Tracks\r\nTuning Shops","Close", "Choose");
        switch(listitem)
        {
            case 0: return cmd_grovestreet(playerid);
            case 1: return cmd_mullholand(playerid);
            case 2: return cmd_unitystation(playerid);
            case 3: return cmd_lsairport(playerid);
        }
    }
Quote:

C:\Users\ADMIN\Desktop\Gangwars\gamemodes\US.pwn(5 60) : warning 202: number of arguments does not match definition
C:\Users\ADMIN\Desktop\Gangwars\gamemodes\US.pwn(5 61) : warning 202: number of arguments does not match definition
C:\Users\ADMIN\Desktop\Gangwars\gamemodes\US.pwn(5 62) : warning 202: number of arguments does not match definition
C:\Users\ADMIN\Desktop\Gangwars\gamemodes\US.pwn(5 63) : warning 202: number of arguments does not match definition

on adding ,params after playerid:

Quote:

undefined symbol 'params'

Need to fix these, help will be appreciated.
Reply
#2

pawn Код:
else if(dialogid == LosSantosTeleportsDialog)
    {
        if(!response) return ShowPlayerDialog(playerid,TeleportDialog, DIALOG_STYLE_LIST,"Teleports","Los Santos\r\nSan Fierro\r\nLas Venturas\r\nBone County\r\nStunts\r\nDeathmatch arena's\r\nRace Tracks\r\nTuning Shops","Close", "Choose");
        switch(listitem)
        {
            case 0: return cmd_grovestreet(playerid, "");
            case 1: return cmd_mullholand(playerid, "");
            case 2: return cmd_unitystation(playerid, "");
            case 3: return cmd_lsairport(playerid, "");
        }
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)