02.03.2015, 10:09
(
Последний раз редактировалось Vladimir124; 02.03.2015 в 11:13.
)
I finish my gamemode and when i try to convert it it show me this error
i find that lines and everything is all right i don't know why is this happening
1633
6311-6312
6339
Код:
C:\Users\Vlada\Desktop\UGRPG.pwn(1633) : error 020: invalid symbol name "" C:\Users\Vlada\Desktop\UGRPG.pwn(1633) : error 010: invalid function or declaration C:\Users\Vlada\Desktop\UGRPG.pwn(6311) : warning 219: local variable "plname" shadows a variable at a preceding level C:\Users\Vlada\Desktop\UGRPG.pwn(6312) : warning 219: local variable "playersip" shadows a variable at a preceding level C:\Users\Vlada\Desktop\UGRPG.pwn(6339) : warning 217: loose indentation C:\Users\Vlada\Desktop\UGRPG.pwn(6339) : error 029: invalid expression, assumed zero C:\Users\Vlada\Desktop\UGRPG.pwn(6339) : error 035: argument type mismatch (argument 1) C:\Users\Vlada\Desktop\UGRPG.pwn(6339) : error 020: invalid symbol name "" C:\Users\Vlada\Desktop\UGRPG.pwn(6339) : fatal error 107: too many error messages on one line
1633
Код:
new cDebug;
Код:
public OnPlayerDisconnect(playerid, reason) { new textreason[64]; new plname[128]; <---6311 new playersip[128]; <---6312 GetPlayerName(playerid, plname, sizeof(plname)); GetPlayerIp(playerid, playersip, sizeof(playersip)); SafeResetPlayerWeapons(playerid);
Код:
if(playerid == beingvoted && reason != 2) { KillTimer(votetimer1); KillTimer(votetimer2); 6339---> format(string2,sizeof(string2),"[Glasanje]: %s (%d) se izlogovao, glasanje je zavrseno!",plname,playerid); SendClientMessageToAll(TEAM_GROVE_COLOR,string2); votetimer1 = SetTimer("ResetVotation",300000,false); }