SA-MP Forums Archive
Changing help - 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: Changing help (/showthread.php?tid=543034)



Changing help - futuremarine556 - 24.10.2014

Hello guys, i recently downloaded a script and then went in and edited the entire thing (because im very new at scripting) but mostly just changed the name to my server name that i wanted. So after i get done inside the script i compile (no errors) then saved and exited. I restart the server to see if my editing had worked and it didnt. The name hadnt been changed, server text didnt change, nothing at all changed. So my question is, why didnt it changed and how can i make it change?


Re: Changing help - C0olp1x - 24.10.2014

I'think u must put in here (name) :

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" ");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print("\n----------------------------------");
print(" gamemode name");
print("----------------------------------\n");
}



But srw name u must edit in file called server


I think if i'm wrong someone fix me cuz i'm also begginer in this.. So if u want to listen to me first make backup file then do what i said ! BUT I'm 100 % sure of this