[HELP]Need help with server bug. -
sky_swayer - 24.05.2009
Whenever i start my home server, this is what i get on the rcon pannel.
Код:
[20:28:05] Script[gamemodes/test.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
Can someone help me please?
Also when i kill my player, its skin changes to skin id 0, that is CJ's skin.
Plus, whenever i restart gamemode (/gmx), all the players crash!
Re: [HELP]Need help with server bug. -
Correlli - 24.05.2009
Do you have function main() in your script?
Re: [HELP]Need help with server bug. -
sky_swayer - 24.05.2009
Quote:
Originally Posted by Don Correlli
Do you have function main() in your script?
|
Umm no..is it important to have? If yes then where to place it?
Re: [HELP]Need help with server bug. -
.::: Ecko :::. - 24.05.2009
Quote:
Originally Posted by sky_swayer
Quote:
Originally Posted by Don Correlli
Do you have function main() in your script?
|
Umm no..is it important to have? If yes then where to place it?
|
Anywhere,but I suggest you to put it on the TOP of your script!
Ecko
Re: [HELP]Need help with server bug. -
Luka P. - 24.05.2009
Do you have OnGameModeInit?
Re: [HELP]Need help with server bug. -
sky_swayer - 24.05.2009
Quote:
Originally Posted by Luka[balkan-samp.com
]
Do you have OnGameModeInit?
|
Yea i do have it and have much stuff in that.
I added that function main()
Now that fatal error won't appear.
But still those two problems, CJ skin and player crash on /gmx is persisting. Please help.
Re: [HELP]Need help with server bug. -
Luka P. - 24.05.2009
For CJ skin,check if u have SetPlayerSkin(playerid,0) under OnPlayerDeath,if you have,then delete it.
Re: [HELP]Need help with server bug. -
sky_swayer - 24.05.2009
Quote:
Originally Posted by Luka[balkan-samp.com
]
For CJ skin,check if u have SetPlayerSkin(playerid,0) under OnPlayerDeath,if you have,then delete it.
|
Nopes, its clean.
Re: [HELP]Need help with server bug. -
Correlli - 24.05.2009
Show us your OnGameModeExit() code, maybe there is some bad code which is causing the crash when you use gmx-cmd.
Re: [HELP]Need help with server bug. -
Luka P. - 24.05.2009
Quote:
Originally Posted by Don Correlli
Show us your OnGameModeExit() code, maybe there is some bad code which is causing the crash when you use gmx-cmd.
|
@Don: Bok i tebi,također
@Sky: Yes,copy/paste your OnGameModeExit code