HELP error 044: positional parameters must precede all named parameters -
WilzzWilzz - 01.01.2018
can you help me ?
C:\Users\admin\Desktop\xsf\SFR3-En.pwn(7213) : error 044: positional parameters must precede all named parameters
C:\Users\admin\Desktop\xsf\SFR3-En.pwn(7213) : warning 215: expression has no effect
C:\Users\admin\Desktop\xsf\SFR3-En.pwn(7213) : error 001: expected token: ";", but found ")"
C:\Users\admin\Desktop\xsf\SFR3-En.pwn(7213) : error 029: invalid expression, assumed zero
C:\Users\admin\Desktop\xsf\SFR3-En.pwn(7213) : fatal error 107: too many error messages on one line
Code :
PI[playerid][P_HOUSEICONS][ PI[playerid][P_HOUSES] ] = CreateDynamicMapIcon(HI[i][H_extPos][0], HI[i][H_extPos][1], HI[i][H_extPos][2], 31, -1, FREEROAM_VW, .playerid = playerid, .streamdistance = 1000.0, style = MAPICON_GLOBAL);
Re: HELP error 044: positional parameters must precede all named parameters -
David (Sabljak) - 01.01.2018
Код:
PI[playerid][P_HOUSEICONS][ PI[playerid][P_HOUSES] ] = CreateDynamicMapIcon(HI[i][H_extPos][0], HI[i][H_extPos][1], HI[i][H_extPos][2], 31, -1, FREEROAM_VW, -1, 300, MAPICON_GLOBAL);
Re: HELP error 044: positional parameters must precede all named parameters -
NaS - 01.01.2018
You could also change the last parameter from "style = MAPICON_GLOBAL" to ".style = MAPICON_GLOBAL".
This error tells you what to do, you must place all positional parameters before named parameters (positional params. in this case are FREEROAM_VW and all before it, and named parameters are eg. .playerid or .streamdistance).
Re: HELP error 044: positional parameters must precede all named parameters -
WilzzWilzz - 02.01.2018
Thx br0,now i have so many error like that xD
Re: HELP error 044: positional parameters must precede all named parameters -
Sew_Sumi - 02.01.2018
Quote:
Originally Posted by NaS
You could also change the last parameter from "style = MAPICON_GLOBAL" to ".style = MAPICON_GLOBAL".
|
Can you explain this a bit please while you're at it? What does this . stuff 'do'.