Invalid expression, assumed zero
#1

What's wrong with the code?

pawn Код:
if(pickupid == AOD_Armory)
    {
        `ShowPlayerDialog(playerid, AOD_ARMORY_MENU, DIALOG_STYLE_LIST, "{FFFFFF}Gun Menu", "{FFFFFF}Handguns\nShotguns\nSub Machine Guns\nAssault Rifles\nRifles\nBody Armour", "Select", "Cancel");
    }
Код:
C:\Users\Cretu\Downloads\GTA SA\Server Fri CnR\gamemodes\FriCNR.pwn(5108) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

What is "AOD_Armory" ?
Reply
#3

I called it at the beginning of the code, it's a pickup
pawn Код:
new AOD_Armory;
Reply
#4

Please help me...
Reply
#5

I can see in beginning of ShowPlayerDialog this: '`'
Reply
#6

Oh...damn...didn't see that...thank you for pointing it out.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)