SA-MP Forums Archive
/supmobil FILESCRIPT - Coming Soon - Errors - Help me please! - 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: /supmobil FILESCRIPT - Coming Soon - Errors - Help me please! (/showthread.php?tid=442481)



/supmobil FILESCRIPT - Coming Soon - Errors - Help me please! - SupermanV - 07.06.2013

Hello,

I have those errors:

Quote:

C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (110) : error 029: invalid expression, assumed zero
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (110) : error 001: expected token: ";", but found "]"
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (110) : error 029: invalid expression, assumed zero
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (110) : fatal error 107: too many error messages on one line

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


4 Errors.

At the line 110 I have this:

Quote:

if(AdminDuty[playerid] == 0)

And unter the line 110 I have this:

Quote:

return 1;

THANK YOU AND PLEASE REPLY ON A COMMENT


Re: /supmobil FILESCRIPT - Coming Soon - Errors - Help me please! - Red_Dragon. - 07.06.2013

Did you add
pawn Код:
return 1;
under your line ?
Make sure to place the correct parameters
pawn Код:
(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS)
Example taken off the SAMP wiki
pawn Код:
public OnGameModeInit()
{
    Create3DTextLabel("I'm at the coordinates:\n30.0, 40.0, 50.0", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
    return 1;
}



Re: /supmobil FILESCRIPT - Coming Soon - Errors - Help me please! - SupermanV - 07.06.2013

LAST WARNING - FIXED


Re: /supmobil FILESCRIPT - Coming Soon - Errors - Help me please! - SupermanV - 07.06.2013

New Warnings:
Should I ignore them? (if no, how can I fix them?):

Quote:

C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (96) : warning 219: local variable "text" shadows a variable at a preceding level
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (246) : warning 219: local variable "text" shadows a variable at a preceding level
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (261) : warning 213: tag mismatch
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (269) : warning 219: local variable "text" shadows a variable at a preceding level
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (283) : warning 213: tag mismatch
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (293) : warning 219: local variable "text" shadows a variable at a preceding level
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (307) : warning 213: tag mismatch
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (311) : warning 217: loose indentation
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (321) : warning 203: symbol is never used: "Gsgmask"
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (321) : warning 203: symbol is never used: "SupMobilAbgeschlossen"
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (321) : warning 203: symbol is never used: "text"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


11 Warnings.




Re: /supmobil FILESCRIPT - Coming Soon - Errors - Help me please! - Red_Dragon. - 07.06.2013

What changes did you make ?


Re: /supmobil FILESCRIPT - Coming Soon - Errors - Help me please! - SupermanV - 07.06.2013

I have it fixed...But now I have new errors, lol