Help again :D
#1

I am new at scripting and need a little bit help can anybody help me with this tutorial Click Me
(make the script so i can copy paste it because when i try to make it i get a lot of error when i add it myself )
Reply
#2

When you added these under OnGameModeIni, did you enter these the way they were in the code?

Quote:

Under OnGameModeInit we will put the following code
pawn Код:
CP[Zone] = CreateDynamicCP(.....);
Same for GangZone

pawn Код:
Zone[Zone] = GangZoneCreate(......);
Reply
#3

i added it and it says
Quote:

C:\Users\PC\Desktop\new\gamemodes\new.pwn(21 : error 029: invalid expression, assumed zero
C:\Users\PC\Desktop\new\gamemodes\new.pwn(21 : error 029: invalid expression, assumed zero
C:\Users\PC\Desktop\new\gamemodes\new.pwn(21 : warning 215: expression has no effect
C:\Users\PC\Desktop\new\gamemodes\new.pwn(21 : error 001: expected token: ";", but found "]"
C:\Users\PC\Desktop\new\gamemodes\new.pwn(21 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

And here is the line
Zone[Zone] = GangZoneCreate(93.423, 1331.278, 315.3026, 1506.446);

What have i done wrong
Reply
#4

well,
did you defined Zone?
like:
pawn Код:
#define Zone 0
On Top of your GM under includes?
and also check
did you defined

new Zone[30]; or Zone[10]; depends on how much capture zones you want
Reply
#5

Quote:

new CP[1];
new Zone[1];
new tCheck[1];
new zDefine[MAX_PLAYERS];
new UnderAttack[1];
new timer[MAX_PLAYERS][30];
#define Zone 0

Is it right so?
Reply
#6

Well they are.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)