SA-MP Forums Archive
Filescript Help - Errors - 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: Filescript Help - Errors (/showthread.php?tid=442585)



Filescript Help - Errors - SupermanV - 08.06.2013

Hello,
I have those errors:

Quote:

C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (62) : error 010: invalid function or declaration
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (66) : error 010: invalid function or declaration
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (71) : error 010: invalid function or declaration
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (112) : warning 219: local variable "text" shadows a variable at a preceding level
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (121) : error 029: invalid expression, assumed zero
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (123) : error 017: undefined symbol "PlayerInfo"
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (123) : warning 215: expression has no effect
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (123) : error 001: expected token: ";", but found "]"
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (123) : error 029: invalid expression, assumed zero
C:\Users\AnaC\Desktop\h\filterscripts\supmobil.pwn (123) : fatal error 107: too many error messages on one line

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


8 Errors.

Line: 62 :
Quote:

if(vehicleid==SupMobil[playerid])

Line : 66 :
Quote:

HatSupmobil[playerid] = 0;

Line: 71 :
Quote:

return 1;

Line: 121 :
Quote:

else

Line: 123 :
Quote:

if(PlayerInfo[playerid][pAdmin] >= 2

Please reply on a comment or just add me on skype to help me via TeamViewer: gregor.kouk


Re: Filescript Help - Errors - Giroud12 - 08.06.2013

Show all your script


Re: Filescript Help - Errors - SupermanV - 08.06.2013

Quote:
Originally Posted by Giroud12
Посмотреть сообщение
Show all your script
Hahahahahah No. -_-


Re: Filescript Help - Errors - Giroud12 - 08.06.2013

Line 123 , check if you have
pawn Код:
new pInfo[MAX_PLAYERS][PlayerInfo];
Then change to
pawn Код:
if(pInfo[playerid][pAdmin] >= 2) // you can make return SendClientMessage here
Others IDK cause I cant help you if you wont post all the script.
You think I want to steal it ? :O


Re: Filescript Help - Errors - SupermanV - 08.06.2013

DELETED


Re: Filescript Help - Errors - IceBilizard - 08.06.2013

I fixed his Script