SA-MP Forums Archive
little error on showplayergangzoneforall - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: little error on showplayergangzoneforall (/showthread.php?tid=344319)



little error on showplayergangzoneforall - faff - 20.05.2012

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!


Re: little error on showplayergangzoneforall - Cypress - 20.05.2012

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);



Re: little error on showplayergangzoneforall - MP2 - 20.05.2012

Show the TEAM_x defines. They should be colours.


Re: little error on showplayergangzoneforall - faff - 20.05.2012

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


Re: little error on showplayergangzoneforall - Vince - 20.05.2012

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