30.08.2011, 07:08
Quote:
The first problem I saw is this:
pawn Код:
pawn Код:
You will have to do it this, change all matching ifs: pawn Код:
But however, nice work. Tons of "pro scripters" dont manage it to create something like this, and whine in the request thread, but you as a beginner just made it on your own. Keep it up! |
pawn Cуdigo:
if(GetPlayerWeapon(shooter) == 29 || 31 || 30)
You cannot compare it that way, pawn will read it like this:
pawn Cуdigo:
if(GetPlayerWeapon(shooter) == 29)
OR
if(31)
OR
if(30)[/quote]
that is C# code, || => that is the "or" operator, i think thats fine...