SA-MP Forums Archive
As an scripting newbie need 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: As an scripting newbie need help. (/showthread.php?tid=305346)



As an scripting newbie need help. - Lepre - 22.12.2011

alright i'm starting scripting everything is going well but when i compile the update i wan't to make it doesn't works... it has no error's but the script doens't load can someone help me PLEASE, btw as a newbie i'm going very well and i'm learning pawno language too fast... thank's for sharing your answer with me.


Re : As an scripting newbie need help. - Darco - 22.12.2011

Good Work


Re: As an scripting newbie need help. - Eric - 22.12.2011

Did you set it to load in the config.cfg file?


Re: As an scripting newbie need help. - Lepre - 22.12.2011

awww you just confused me , exactly what i have to edit?. (sorry for being so noob :P)


Re: As an scripting newbie need help. - Eric - 22.12.2011

Open up your config.cfg file.

Where it says "gamemode", what does it say beside it?


Re: As an scripting newbie need help. - Lepre - 22.12.2011

Fuck this shit i give up i sucks at this xD, gonna try to learn more couldn't find that file O_O, btw the GM was made by my friend he's teaching me everything about scripting i'm still learning so don't judge me so hard


Re: As an scripting newbie need help. - Sinner - 22.12.2011

open the "server_log.txt" file and post the last restart here


Re: As an scripting newbie need help. - BlueSky_ - 22.12.2011

Run PWN File In Administrator MODE


Re: As an scripting newbie need help. - PowerPC603 - 22.12.2011

Quote:
Originally Posted by Cobra_79
Посмотреть сообщение
Run PWN File In Administrator MODE
You don't run the .pwn file. The pwn file is the script in text form.
When you start the server, the server looks for the .amx file, this is the compiled code which can be executed/ran by the server.
Also administrator mode won't help.

Quote:
Originally Posted by Lepre
Посмотреть сообщение
Fuck this shit i give up i sucks at this xD, gonna try to learn more couldn't find that file O_O, btw the GM was made by my friend he's teaching me everything about scripting i'm still learning so don't judge me so hard
The "server.cfg" file is in the same directory as the main server file (samp-server.exe).
You should have no problems finding that file.
It's a small text file that can be edited using notepad.


Re: As an scripting newbie need help. - Lepre - 22.12.2011

Quote:
Originally Posted by Eric
Посмотреть сообщение
Open up your config.cfg file.

Where it says "gamemode", what does it say beside it?
beside Gamemode it says this

Код:
gamemode0 War 1.
thank you power.