invalid expressions and definition does not match
#4

PHP код:
CMD:payday(playeridparams[])
{
    if(
gPlayerLogged[playerid] == 0) return SendClientMessage(playeridCOLOR_LIGHTRED"You need to log in first.");
    
PayDay(playeridparams); // why params? anyway lol
    
return 1;

read this: https://sampwiki.blast.hk/wiki/Control_Structures

about this:
PHP код:
                new location[MAX_ZONE_NAME], name[30], strings[128];
                
GetPlayer2DZone(playeridlocationMAX_ZONE_NAME); 
it must be
PHP код:
new location[MAX_ZONE_NAME];
GetPlayer2DZone(playeridlocationsizeof(location)); 
Before you post try to g00gle your errors like (error 029: invalid expression, assumed zero samp).
Reply


Messages In This Thread
invalid expressions and definition does not match - by enzulikeS - 12.02.2018, 21:09
Re: invalid expressions and definition does not match - by Mugala - 12.02.2018, 21:14
Re: invalid expressions and definition does not match - by AdamsLT - 12.02.2018, 22:48
Re: invalid expressions and definition does not match - by AlexMSK - 12.02.2018, 23:00
Re: invalid expressions and definition does not match - by enzulikeS - 13.02.2018, 12:29

Forum Jump:


Users browsing this thread: 1 Guest(s)