Script error
#1

Hey guys.
I made a script, that is using Dini.
It works fine when i compile it, but it doesnt work optimally in-game, and i also get an error in the server console.
The error is: " Script[gamemodes/rpg.amx]: Run time error 20: "Invalid index parameter (bad entry point)" ".
Here is the script: http://pastebin.com/whPPbQGH (Dont know why pastebin makes defines and includes same color as comments).
If you wanna download it in stead, its attached below.

Its a very small script, so i hope someone will be kind and take a look at it. Thank you.
Reply
#2

This is really strange...
Reply
#3

Check

pawn Код:
/*
By ur name
*/
Reply
#4

Quote:
Originally Posted by Davz*|*Criss
Посмотреть сообщение
Check

pawn Код:
/*
By ur name
*/
Do you mean the comment i have at the top?
Reply
#5

Its fixed now.
Reply
#6

pawn Код:
/*RPG Scirpt for
Sim_sima's, Madsen's and Heavy Badass's
Server project*/
Needs changing to

pawn Код:
/*
RPG Scirpt for Sim_sima's, Madsen's and Heavy Badass's server project
*/
Reply
#7

Yeah that was wrong in your GM.
Reply
#8

no lol..
it doesn't care where you write what behind a /* */ comment...
it outlines everything which is behind the /* the line doesn't matter for it as pawno and later the server ignore it
Reply
#9

maybe you forgot to add this on top of your game mode script:
pawn Код:
main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}
try that, i hope it can help you
Reply
#10

Quote:
Originally Posted by Davz*|*Criss
Посмотреть сообщение
pawn Код:
/*RPG Scirpt for
Sim_sima's, Madsen's and Heavy Badass's
Server project*/
Needs changing to

pawn Код:
/*
RPG Scirpt for Sim_sima's, Madsen's and Heavy Badass's server project
*/
Whats that got to do with the problem ?
Would'nt cause errors or stop the script from working.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)