10.05.2014, 17:36
Hello guys i started to make my TDM server from scratch lets say so here it is :
ERRORS AND WARNINGS :
So here is the code :
So plz help me !
ERRORS AND WARNINGS :
Код:
C:\Users\Sky\Downloads\[CMX] CroMaxX TDM ©\pawno\[CMX]TDM.pwn(108 -- 109) : error 029: invalid expression, assumed zero C:\Users\Sky\Downloads\[CMX] CroMaxX TDM ©\pawno\[CMX]TDM.pwn(114 -- 115) : error 029: invalid expression, assumed zero C:\Users\Sky\Downloads\[CMX] CroMaxX TDM ©\pawno\[CMX]TDM.pwn(117) : warning 202: number of arguments does not match definition C:\Users\Sky\Downloads\[CMX] CroMaxX TDM ©\pawno\[CMX]TDM.pwn(120 -- 121) : error 029: invalid expression, assumed zero C:\Users\Sky\Downloads\[CMX] CroMaxX TDM ©\pawno\[CMX]TDM.pwn(123) : warning 202: number of arguments does not match definition C:\Users\Sky\Downloads\[CMX] CroMaxX TDM ©\pawno\[CMX]TDM.pwn(126 -- 127) : error 029: invalid expression, assumed zero C:\Users\Sky\Downloads\[CMX] CroMaxX TDM ©\pawno\[CMX]TDM.pwn(129) : warning 202: number of arguments does not match definition C:\Users\Sky\Downloads\[CMX] CroMaxX TDM ©\pawno\[CMX]TDM.pwn(132) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
public OnPlayerRequestClass(playerid, classid) <== 100 (line ) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); switch(classid) { case 0 { SetPlayerTeam(playerid, TEAM_ARMY); GameTextForPlayer(playerid, "~b~ARMY", 1000, 3); } case 1 { SetPlayerTeam(playerid, TEAM_TERRORIST); GameTextForPlayer(playerid, "~r~TERRORIST, 1000", 3); } case 2 { SetPlayerTeam(playerid, TEAM_FBI); GameTextForPlayer(playerid, "~b~FBI, 1000", 3); } case 3 { SetPlayerTeam(playerid, TEAM_MAFIA); GameTextForPlayer(playerid, "~r~MAFIA, 1000", 3); } } return 1; } <== 133 (line)