How use params into OnDialogResponse
#1

I need use ZCMD To return command

Quote:

D:\Survival Dub\gamemodes\SD.pwn(474) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Код:
    
if(dialogid == DIALOG_VIP){
    if(response)
    {
    switch(listitem)
    {
    case 0: return cmd_kill(playerid); //test, obviously I'll change this command   (line 474)
    case 1: 
    GivePlayerWeapon(playerid, WEAPON_AK47, 120);
    case 2: GivePlayerWeapon(playerid, WEAPON_SHOTGSPA, 28);
    }
    }
    return 1;
    }
Error
Reply


Messages In This Thread
How use params into OnDialogResponse - by FlaNy - 01.03.2019, 18:58
Re: How use params into OnDialogResponse - by Swarn - 01.03.2019, 19:39
Re: How use params into OnDialogResponse - by PPC23 - 01.03.2019, 19:51
Re: How use params into OnDialogResponse - by SymonClash - 01.03.2019, 19:54

Forum Jump:


Users browsing this thread: 2 Guest(s)