/supmobil FILESCRIPT - Coming Soon - Errors - Help me please!
#1

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
Reply
#2

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;
}
Reply
#3

LAST WARNING - FIXED
Reply
#4

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.

Reply
#5

What changes did you make ?
Reply
#6

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


Forum Jump:


Users browsing this thread: 2 Guest(s)