little error on showplayergangzoneforall
#1

hello,
ill got a little error.
this is the code:
Код:
            GangZoneShowForAll(zoneg,TEAM_GRI);
            GangZoneShowForAll(zonez,TEAM_ZWI);
            GangZoneShowForAll(zonem,TEAM_MAL); //line 523
here there error

Код:
C:\Users\Fabio\Downloads\Team Deatmatch\gamemodes\TDM.pwn(523) : error 029: invalid expression, assumed zero
C:\Users\Fabio\Downloads\Team Deatmatch\gamemodes\TDM.pwn(523) : error 029: invalid expression, assumed zero
C:\Users\Fabio\Downloads\Team Deatmatch\gamemodes\TDM.pwn(523) : warning 215: expression has no effect
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Pleasehelp!
Reply
#2

There's something else that gives you those errors. Comment the line 523 and see if you still get errors.

pawn Код:
GangZoneShowForAll(zoneg,TEAM_GRI);
GangZoneShowForAll(zonez,TEAM_ZWI);
//GangZoneShowForAll(zonem,TEAM_MAL);
Reply
#3

Show the TEAM_x defines. They should be colours.
Reply
#4

Quote:

fixed xD

but uhm...
Ill got new problem this is for register:
INI_WriteInt(File,"Password", inputtext);

he give this error: error 035: argument type mismatch (argument 3)

read above
Reply
#5

WriteInt obviously means "Write Integer". Inputtext is a string.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)