Pawno ERROR
#1

(80) : warning 203: symbol is never used: "createcomp"
(80) : error 013: no entry point (no public functions)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Line http://prntscr.com/1weujg
no 80 line
Reply
#2

Don't worry about the warning, you declare createcomp but you never use it somewhere. Use it or remove it.

About the other, I'm not sure, I think entry point is the main() {}
Reply
#3

Add this to the script
pawn Код:
main() {}
If didn't work then add the (OnGameModeInit, OnGameModeExit, OnPlayerConnect, .. and other SA:MP public callbacks).
Reply
#4

i dont understand what should i do now??
Reply
#5

On the top of the script, If it's a gamemode, Put
pawn Код:
main() {}
under the includes and the defines..
Reply
#6

Quote:
Originally Posted by xVIP3Rx
Посмотреть сообщение
On the top of the script, If it's a gamemode, Put
pawn Код:
main() {}
under the includes and the defines..
The compile cannot know if a user has used main into his mode or not. If the main is missing when you run the gamemode, it won't run it and it will give the error in the console/server log instead.

It's better to show us the whole code of what you're trying to do because with the line 80 which doesn't exist.. I've got really no idea.
Reply
#7

http://pastebin.com/QAhSaQHk

here is the script
Reply
#8

Quote:
Originally Posted by Gold_Master
Посмотреть сообщение
http://pastebin.com/QAhSaQHk

here is the script
You forgot the includes.

pawn Код:
// AT THE TOP
#include <a_samp>
#include <ocmd>

// rest
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)