else if else etc.
#7

pawn Код:
C:\Documents and Settings\Hayden Bruin\Desktop\UlitmateDM\gamemodes\SAP.pwn(2275) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Hayden Bruin\Desktop\UlitmateDM\gamemodes\SAP.pwn(2282) : warning 219: local variable "string" shadows a variable at a preceding level
Those 2 are because that Variables already exist, just change the name of the variable.

pawn Код:
else if {
And this is your problem.
else if is not allowed in pawn, else if (somethinghere) is
but you need somethign inside the ( ).
For Example
pawn Код:
}else if(Team[playerid]==Team_ATC){
that one is allowed.
So yeah, compile after changing all that stuff.
Reply


Messages In This Thread
else if else etc. - by Haydz - 15.11.2010, 22:13
Re: else if else etc. - by 6d - 15.11.2010, 22:24
Re: else if else etc. - by Haydz - 15.11.2010, 22:28
Re: else if else etc. - by 6d - 15.11.2010, 22:29
Re: else if else etc. - by Haydz - 15.11.2010, 22:44
Re: else if else etc. - by Jefff - 15.11.2010, 22:51
Re: else if else etc. - by 6d - 15.11.2010, 22:54
Re: else if else etc. - by Haydz - 16.11.2010, 02:30

Forum Jump:


Users browsing this thread: 2 Guest(s)