Need help with my admins script!
#1

Hi, I followed a Admin Tutorial on SA-MP Wiki (https://sampwiki.blast.hk/wiki/Creating_...cript/Example1)

And I understood everything except one thing. And because of that misunderstood I got these errors:

pawn Код:
C:\Users\Gast\Desktop\SA-MP Server\pawno\DonataRP2.pwn(84) : warning 225: unreachable code
C:\Users\Gast\Desktop\SA-MP Server\pawno\DonataRP2.pwn(84) : warning 217: loose indentation
C:\Users\Gast\Desktop\SA-MP Server\pawno\DonataRP2.pwn(84) : error 017: undefined symbol "player_level"
C:\Users\Gast\Desktop\SA-MP Server\pawno\DonataRP2.pwn(84) : warning 215: expression has no effect
C:\Users\Gast\Desktop\SA-MP Server\pawno\DonataRP2.pwn(84) : error 001: expected token: ";", but found "]"
C:\Users\Gast\Desktop\SA-MP Server\pawno\DonataRP2.pwn(84) : error 029: invalid expression, assumed zero
C:\Users\Gast\Desktop\SA-MP Server\pawno\DonataRP2.pwn(84) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
These are all on line 84:

pawn Код:
if(player_level[playerid] == -1) {
I am new here, and new at scripting so I have actually no idea how to fix this.

Someone could help me?
Reply


Messages In This Thread
Need help with my admins script! - by zClaw - 08.01.2013, 16:09
Re: Need help with my admins script! - by mrtms - 08.01.2013, 16:17
Re: Need help with my admins script! - by zClaw - 08.01.2013, 16:20
Re: Need help with my admins script! - by mrtms - 08.01.2013, 16:27
Re: Need help with my admins script! - by zClaw - 08.01.2013, 16:33

Forum Jump:


Users browsing this thread: 1 Guest(s)