26.01.2014, 17:27
Hello i made a mini dm game and i have the following errors
here is my code for the spawns of the minigame:
here are the errors for this:
here is the variable codes
errors for the following codes
here is my code for the spawns of the minigame:
Код:
new Float:1hpPoints[4][4] ={ {2199.7000,1074.6987,29.4129}, {2269.0085,1053.1139,29.3750}, {2270.1978,1116.9293,29.3750}, {2247.3816,1122.2286,33.5234} };
pawn Код:
freeroam.pwn(100) : error 020: invalid symbol name ""
freeroam.pwn(105) : error 010: invalid function or declaration
Код:
new 1hp[MAX_PLAYERS];
Код:
if(1hp[playerid] == 1) { ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,24,99999); SetPlayerHealth(playerid,1); new rnd = random(sizeof(1hpPoints)); SetPlayerPos(playerid,1hpPoints[rnd][0],1hpPoints[rnd][1],1hpPoints[rnd][2]); SetPlayerFacingAngle(playerid,1hpPoints[rnd][3]); }
pawn Код:
freeroam.pwn(120) : error 020: invalid symbol name ""
freeroam.pwn(2259) : error 029: invalid expression, assumed zero
freeroam.pwn(2259) : error 017: undefined symbol "hp"
freeroam.pwn(2259) : warning 215: expression has no effect
freeroam.pwn(2259) : error 001: expected token: ";", but found "]"
freeroam.pwn(2259) : fatal error 107: too many error messages on one line