SA-MP Forums Archive
I cant figure these 3 errors out.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: I cant figure these 3 errors out.. (/showthread.php?tid=298594)



I cant figure these 3 errors out.. - Azzeto - 21.11.2011

PHP код:
C:\Documents and Settings\Customer\Desktop\FreeRoam\filterscripts\duty.pwn(229) : error 029invalid expressionassumed zero
C
:\Documents and Settings\Customer\Desktop\FreeRoam\filterscripts\duty.pwn(229) : error 017undefined symbol "cmd_equip"
C:\Documents and Settings\Customer\Desktop\FreeRoam\filterscripts\duty.pwn(229) : error 029invalid expressionassumed zero
C
:\Documents and Settings\Customer\Desktop\FreeRoam\filterscripts\duty.pwn(229) : fatal error 107too many error messages on one line 
Its on my /equip command,
PHP код:
CMD:equip(playerid,params[])
{
    if(
PlayerInfo[playerid][pGroup] == && PlayerInfo[playerid][pRank] < 1)
    {
        
ShowPlayerDialog(playerid,DIALOG_MENU,DIALOG_STYLE_LIST,"Lockers","Duty On\nDuty Off\nWeapons\nDuty Clothes","Confirm","Cancel");
    }
    return 
1;




Re: I cant figure these 3 errors out.. - System64 - 21.11.2011

stop using php code for pawn!
Do you have ZCMD included?


Re: I cant figure these 3 errors out.. - Azzeto - 21.11.2011

PHP код:
#include <a_samp>
#include <zcmd>
#include <sscanf>
#include <YSI/y_ini>
#include <foreach> 
Those are my includes.