27.05.2010, 19:04
Getting The Following Errors: .....
Hey, I am having a problem.
When I script this command...:
I get all these errors when scripting the above command:
Hey, I am having a problem.
When I script this command...:
Код:
if(strcmp(cmd, "/ucorp", true) ==0) { if(GetPlayerScore(playerid) > 250) { team[playerid] = 12; SetPlayerHealth(playerid, 0); } else { SendClientMessage(playerid,GREEN,"You Must Have A Score of 250 To Join The Umbrella Corporation"); } return 1; } }
Код:
C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(736) : warning 217: loose indentation C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(756) : warning 217: loose indentation C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(982) : warning 219: local variable "target" shadows a variable at a preceding level C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1001) : warning 217: loose indentation C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1036) : warning 219: local variable "idx" shadows a variable at a preceding level C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1092) : warning 217: loose indentation C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1094) : warning 209: function "OnPlayerCommandText" should return a value C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1095) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1097) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1102) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1104) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1108) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1111) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1113) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1115) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1120) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1122) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1124) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1129) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1133) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1136) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1138) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1143) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1147) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1150) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1152) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1157) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1159) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1163) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1166) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1168) : error 010: invalid function or declaration C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1169) : error 021: symbol already defined: "AddItem" C:\Users\admin\Desktop\ser 0.3\gamemodes\zobywsolf.pwn(1171) : error 010: invalid function or declaration