Can somebody fix this
#1

Quote:

C:\Users\Davey\Desktop\Fasgang.pwn(356) : warning 217: loose indentation
C:\Users\Davey\Desktop\Fasgang.pwn(865) : error 010: invalid function or declaration
C:\Users\Davey\Desktop\Fasgang.pwn(867) : error 010: invalid function or declaration
C:\Users\Davey\Desktop\Fasgang.pwn(869) : error 010: invalid function or declaration
C:\Users\Davey\Desktop\Fasgang.pwn(871) : error 010: invalid function or declaration
C:\Users\Davey\Desktop\Fasgang.pwn(873) : error 010: invalid function or declaration
C:\Users\Davey\Desktop\Fasgang.pwn(875) : error 010: invalid function or declaration
C:\Users\Davey\Desktop\Fasgang.pwn(891) : warning 217: loose indentation
C:\Users\Davey\Desktop\Fasgang.pwn(896) : warning 217: loose indentation
C:\Users\Davey\Desktop\Fasgang.pwn(897) : warning 217: loose indentation
C:\Users\Davey\Desktop\Fasgang.pwn(899) : warning 217: loose indentation
C:\Users\Davey\Desktop\Fasgang.pwn(941) : warning 217: loose indentation
C:\Users\Davey\Desktop\Fasgang.pwn(985) : warning 217: loose indentation
C:\Users\Davey\Desktop\Fasgang.pwn(1212) : warning 202: number of arguments does not match definition
C:\Users\Davey\Desktop\Fasgang.pwn(1782) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Users\Davey\Desktop\Fasgang.pwn(4247) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Davey\Desktop\Fasgang.pwn(4349) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Davey\Desktop\Fasgang.pwn(4365) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Davey\Desktop\Fasgang.pwn(4379) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Davey\Desktop\Fasgang.pwn(5228 ) : warning 217: loose indentation
C:\Users\Davey\Desktop\Fasgang.pwn(5232) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Title says enough ^^
Reply
#2

How about some code?
Reply
#3

loose indentation: https://sampforum.blast.hk/showthread.php?tid=256961

string was declared as global and as local at the same time, change the string to another name to the lines it gives (and the parts is used as well).

OnPlayerPrivmsg callback was removed, you can forward it above it to get rid of the warning but it will NOT be called when a player recieves a PM.

About invalid function or declaration, post the code.

We cannot read your mind..
Reply
#4

Solved
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)