11.02.2011, 06:47
hy, when i compil the mode im get eror
eror is here
C:\DOCUME~1\RaZvY\Desktop\GREENZ~1.PWN(9339) : error 017: undefined symbol "giveplayerid"
C:\DOCUME~1\RaZvY\Desktop\GREENZ~1.PWN(9340) : error 017: undefined symbol "giveplayerid"
C:\DOCUME~1\RaZvY\Desktop\GREENZ~1.PWN(9342) : error 017: undefined symbol "string"
C:\DOCUME~1\RaZvY\Desktop\GREENZ~1.PWN(9342) : error 017: undefined symbol "string"
C:\DOCUME~1\RaZvY\Desktop\GREENZ~1.PWN(9342) : error 029: invalid expression, assumed zero
C:\DOCUME~1\RaZvY\Desktop\GREENZ~1.PWN(9342) : fatal error 107: too many error messages on one line
here is the linie ware give me eror
pls help sory for my englesh im not good for englesh
eror is here
C:\DOCUME~1\RaZvY\Desktop\GREENZ~1.PWN(9339) : error 017: undefined symbol "giveplayerid"
C:\DOCUME~1\RaZvY\Desktop\GREENZ~1.PWN(9340) : error 017: undefined symbol "giveplayerid"
C:\DOCUME~1\RaZvY\Desktop\GREENZ~1.PWN(9342) : error 017: undefined symbol "string"
C:\DOCUME~1\RaZvY\Desktop\GREENZ~1.PWN(9342) : error 017: undefined symbol "string"
C:\DOCUME~1\RaZvY\Desktop\GREENZ~1.PWN(9342) : error 029: invalid expression, assumed zero
C:\DOCUME~1\RaZvY\Desktop\GREENZ~1.PWN(9342) : fatal error 107: too many error messages on one line
here is the linie ware give me eror
Код:
stock AddFlitsPaal(playerid, modelid, Float:xx, Float:yy, Float:zz, radius, speed) { new fine[MAX_PLAYERS]; new str[256]; if(objectcreated!=maxobject) { CreateObject(modelid, xx, yy, zz, 0.0, 0.0, 10); objectcreated++; } if((distance1[playerid])>speed) { if(IsPlayerInCircle(playerid, xx, yy, radius) && GetPlayerState(playerid)== PLAYER_STATE_DRIVER) { fine[playerid]=((distance1[playerid]*17/10)-speed); GivePlayerMoney(playerid, -2000); format(str,sizeof(str), "[RADAR] Limita de viteza este de %d KM/H tu ai mers cu %d KM/H si ai luat amenda!",speed, distance1[playerid] ,fine[playerid]); SendClientMessage(playerid, VERDEFRACO, str); PlayerInfo[giveplayerid][pCarLicPoint] += 1; if(PlayerInfo[giveplayerid][pCarLicPoint] >= 15) { format(string, sizeof(string), "Nu Mai Ai Permis Din Cauza Ca Ai Acumulat Puncte De Penalizare De La %s (Ai Acumulat 15 Puncte De Penalizare), reason: %s", sendername, (result)); SendClientMessage(giveplayerid, COLOR_ADMIN, string); PlayerInfo[giveplayerid][pCarLic] = 0; PlayerInfo[giveplayerid][pCarLicPoint] = 0; return 1; } PlayerPlaySound(playerid, 1132, 0.0, 0.0, 0.0); } } }