Problem with converting
#1

I finish my gamemode and when i try to convert it it show me this error

Код:
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
i find that lines and everything is all right i don't know why is this happening

1633
Код:
new cDebug;
6311-6312
Код:
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);
6339
Код:
	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);
	}
Reply


Messages In This Thread
Converting problem Please Help Me - by Vladimir124 - 02.03.2015, 10:09
Re: Problem with converting - by JeaSon - 02.03.2015, 10:14
Re: Problem with converting - by Vladimir124 - 02.03.2015, 10:20
Re: Problem with converting - by JeaSon - 02.03.2015, 10:25
Re: Problem with converting - by ATGOggy - 02.03.2015, 10:26
Re: Problem with converting - by Vladimir124 - 02.03.2015, 10:43

Forum Jump:


Users browsing this thread: 3 Guest(s)