09.10.2011, 14:21
hello,i am making gamemode,and i started to work on fuel system,and i put this..
and this error's
How can I solve this errors?
above all i have :
Код:
Speed4[playerid] = TextDrawCreate(493.000000, 413.000000, "Gorivo:"); TextDrawBackgroundColor(Speed4[playerid], 255); TextDrawFont(Speed4[playerid], 2); TextDrawLetterSize(Speed4[playerid], 0.289999, 1.899999); TextDrawColor(Speed4[playerid], -1); TextDrawSetOutline(Speed4[playerid], 0); TextDrawSetProportional(Speed4[playerid], 1); TextDrawSetShadow(Speed4[playerid], 1);
Код:
C:\Users\Snjezana\Desktop\Ivanovo (nemoj brisat)\Cynix DM\gamemodes\CRP.pwn(471) : error 017: undefined symbol "playerid" C:\Users\Snjezana\Desktop\Ivanovo (nemoj brisat)\Cynix DM\gamemodes\CRP.pwn(472) : error 017: undefined symbol "playerid" C:\Users\Snjezana\Desktop\Ivanovo (nemoj brisat)\Cynix DM\gamemodes\CRP.pwn(473) : error 017: undefined symbol "playerid" C:\Users\Snjezana\Desktop\Ivanovo (nemoj brisat)\Cynix DM\gamemodes\CRP.pwn(474) : error 017: undefined symbol "playerid" C:\Users\Snjezana\Desktop\Ivanovo (nemoj brisat)\Cynix DM\gamemodes\CRP.pwn(475) : error 017: undefined symbol "playerid" C:\Users\Snjezana\Desktop\Ivanovo (nemoj brisat)\Cynix DM\gamemodes\CRP.pwn(476) : error 017: undefined symbol "playerid" C:\Users\Snjezana\Desktop\Ivanovo (nemoj brisat)\Cynix DM\gamemodes\CRP.pwn(477) : error 017: undefined symbol "playerid" C:\Users\Snjezana\Desktop\Ivanovo (nemoj brisat)\Cynix DM\gamemodes\CRP.pwn(478) : error 017: undefined symbol "playerid"
above all i have :
Код:
for(new i=0;i<MAX_VEHICLES;i++) { fuel[i] = 40; }