Blank script - 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: Blank script (
/showthread.php?tid=405037)
Blank script -
CBCandyBoy - 05.01.2013
a very strange problem in samp whenever i look at my server it mode says blank script ??
idk why in the gamemode gamemode text is written
PHP код:
print("\nLoading Gamemode(SATDM~RP)");
SetGameModeText("stunting");
but still it is written blank script
look in the pic
but the gm is wrorking fine no errors loaded perfectly and all cmd sworking
Re: Blank script -
Jimmy0wns - 05.01.2013
SetGameModeText("stunting"); needs to be at OnGameModeInit.
After that, compile it and restart your server.
Re: Blank script -
CBCandyBoy - 05.01.2013
Код:
//===============================Gamemode Start=================================
public OnGameModeInit()
{
//---------------------------Gamemode Settings----------------------------------
print("\nLoading Gamemode(SATDM~RP)");
SetGameModeText("stunting");
ShowNameTags(1);
ShowPlayerMarkers(1);
SetWorldTime(12);
UsePlayerPedAnims();
KZI_Init();
BankRobbedRecently = 0;
its there only im using satdm v9 btw i added link in gm text like
www.******.com will that work
Re: Blank script -
Jimmy0wns - 05.01.2013
Quote:
Originally Posted by CBCandyBoy
Код:
//===============================Gamemode Start=================================
public OnGameModeInit()
{
//---------------------------Gamemode Settings----------------------------------
print("\nLoading Gamemode(SATDM~RP)");
SetGameModeText("stunting");
ShowNameTags(1);
ShowPlayerMarkers(1);
SetWorldTime(12);
UsePlayerPedAnims();
KZI_Init();
BankRobbedRecently = 0;
its there only im using satdm v9 btw i added link in gm text like www.******.com will that work
|
Remove that SetGameModeText("stunting"); and then do CTRL F, and then find to: SetGameModeText.
If you can find it then give it a other name.
Re: Blank script -
Konstantinos - 05.01.2013
I'm not sure if
SetGameModeText would work in OnFilterScriptInit as well, but make sure none of the filterscripts you have, they don't use that function. It works fine on me.
Re: Blank script -
CBCandyBoy - 05.01.2013
oh yea my fs im cheaking a fake skin that's why accured in my gm im cheacking
Re: Blank script -
CBCandyBoy - 05.01.2013
oh thx man i love you u solved my problem by mistake in a fs i did that blank script +rep to u all those who helped me