Scripting newbie - 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: Scripting newbie (
/showthread.php?tid=618983)
Scripting newbie -
MrCesar - 12.10.2016
Hello guys,
I have some minor coding experience, and I'd love to start coding again.
I've taken a look at the tutorials section etc..but I failed to find what I am looking for..
Can anyone please give me the links to the most basic tutorials? How to start a script, how to define colors,
how to create databases as in rp servers, like stats, inventory and etc..
What includes shall I download? What will help me scripting?
Thanks in advance to those who help.
Re: Scripting newbie -
NealPeteros - 12.10.2016
This should not be posted here. Post it
here where you'll find scripters for you to help you.
Re: Scripting newbie -
SyS - 12.10.2016
https://sampwiki.blast.hk/wiki/Scripting_Basics
https://sampwiki.blast.hk/wiki/PAWN_for_Begginers
http://www.compuphase.com/pawn/Pawn_Language_Guide.pdf
http://www.compuphase.com/pawn/pawn.htm#DOWNLOAD_DOCS
https://sampforum.blast.hk/showthread.php?tid=317336
https://sampforum.blast.hk/showthread.php?tid=375747
Useful Tutorials:
https://sampforum.blast.hk/showthread.php?tid=360911
Re: Scripting newbie -
MrCesar - 12.10.2016
Quote:
Originally Posted by Sreyas
|
Thanks.
EDIT: I've downloaded zcmd, and included it. But on compile it sais "can't read from file"
How to fix that?
Re: Scripting newbie -
SyS - 12.10.2016
Quote:
Originally Posted by MrCesar
Thanks.
EDIT: I've downloaded zcmd, and included it. But on compile it sais "can't read from file"
How to fix that?
|
did u add it to pawno/includes?
are you using multiple pawno application if then check the current using app's include directory contains it.
did u name the inclusion correctly?
Re: Scripting newbie -
MrCesar - 12.10.2016
Quote:
Originally Posted by Sreyas
did u add it to pawno/includes?
are you using multiple pawno application if then check the current using app's include directory contains it.
did u name the inclusion correctly?
|
i've downloaded the text file, renamed it to zcmd.inc saved at pawno/includes and that's pretty much it.
Код:
C:\Users\Shani\Desktop\samp037_svr_R2-1-1_win32 (1)\gamemodes\mygm.pwn(5) : fatal error 100: cannot read from file: "zcmd"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: Scripting newbie -
IceBilizard - 12.10.2016
Download ZCMD from here
https://sampforum.blast.hk/showthread.php?tid=91354
then put the zcmd.inc file in your server > pawno > includes folder then use
in script and compile
Re: Scripting newbie -
SyS - 12.10.2016
Quote:
Originally Posted by MrCesar
i've downloaded the text file, renamed it to zcmd.inc saved at pawno/includes and that's pretty much it.
Код:
C:\Users\Shani\Desktop\samp037_svr_R2-1-1_win32 (1)\gamemodes\mygm.pwn(5) : fatal error 100: cannot read from file: "zcmd"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
|
format is .inc right? if not save it as in that format or download .inc here
http://www.solidfiles.com/d/d20f/
Re: Scripting newbie -
MrCesar - 12.10.2016
Same problem aquired with ysi
Код:
C:\Users\Shani\Desktop\samp037_svr_R2-1-1_win32 (1)\gamemodes\mygm.pwn(7) : fatal error 100: cannot read from file: "YSI\y_ini"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
tbh I didn't know where to extract all the includes in the folder. Downloaded from here
https://sampforum.blast.hk/showthread.php?tid=570884
Re: Scripting newbie -
SyS - 12.10.2016
copy paste YSI folder in includes folder