Blank script
#1

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
Reply
#2

SetGameModeText("stunting"); needs to be at OnGameModeInit.

After that, compile it and restart your server.
Reply
#3

Код:
//===============================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
Reply
#4

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.
Reply
#5

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.
Reply
#6

oh yea my fs im cheaking a fake skin that's why accured in my gm im cheacking
Reply
#7

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)