01.03.2019, 18:58
I need use ZCMD To return command
Error
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; }