Scripting newbie
#1

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

This should not be posted here. Post it here where you'll find scripters for you to help you.
Reply
#3

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

Thanks.

EDIT: I've downloaded zcmd, and included it. But on compile it sais "can't read from file"
How to fix that?
Reply
#5

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

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

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

PHP код:
#include <zcmd> 
in script and compile
Reply
#8

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/
Reply
#9

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

copy paste YSI folder in includes folder
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)