littlewhitey's Servers Forum (SA-MP/VC-MP/MTA/Zomboid)

Other => Off-Topic => Programming => Topic started by: Naoufal on February 02, 2015, 08:27:05 PM

Title: Gamemode
Post by: Naoufal on February 02, 2015, 08:27:05 PM
Hi all,

Since i am really new into PAWN scripting, i would like to make a own (basic) gamemode or filterscript, just to practice. Anyone some suggestion to make an very simple gamemode/filterscript? When i am done with it (hopefully hue) ill release it here as the most awful gamemoder ever. ;D

Yours,
Naoufal
Title: Re: Gamemode
Post by: [V]Playa on February 02, 2015, 08:47:37 PM
what i did is, /lock /unlock commands, and i an irc filterscript, so if you want anything from them, contact me.

also you can script if you read the lines, not taking them as something really hard :P
Title: Re: Gamemode
Post by: Naoufal on February 02, 2015, 09:01:50 PM
Haha thanks homie, i just wanna get an suggestion of an gamemode or filterscript. So, tell me :)
Title: Re: Gamemode
Post by: [V]Playa on February 02, 2015, 10:09:50 PM
Lotto System

/me hides
Title: Re: Gamemode
Post by: Puranjay on February 03, 2015, 12:57:55 AM
Lotto System

/me hides
XD
Title: Re: Gamemode
Post by: Naoufal on February 03, 2015, 07:53:25 AM
Lotto system, hmm.

Idk if i can make it, but lets make a try. :)
Title: Re: Gamemode
Post by: Puranjay on February 03, 2015, 09:34:32 AM
Lotto system, hmm.

Idk if i can make it, but lets make a try. :)
Learn by watching videos on youtube  8)
Title: Re: Gamemode
Post by: PawnFox on February 03, 2015, 11:43:58 AM
I've started learning scripting by watching tutorials on SA-MP forums. Then i started myself doing what i've learned from there. Imo isn't any way to learn then watching tutorials and practice.

I'll give you some links:

http://wiki.sa-mp.com/ (http://wiki.sa-mp.com/) - from here you can learn the basic functions of SA-MP which is the base. Follow all articles.

http://forum.sa-mp.com/forumdisplay.php?f=70 (http://forum.sa-mp.com/forumdisplay.php?f=70) - Tutorials board

http://weedarr.wikidot.com/samp (http://weedarr.wikidot.com/samp) another very useful site, from here you can find all scripting resources

Title: Re: Gamemode
Post by: Puranjay on February 03, 2015, 12:37:28 PM
I've started learning scripting by watching tutorials on SA-MP forums. Then i started myself doing what i've learned from there. Imo isn't any way to learn then watching tutorials and practice.

I'll give you some links:

http://wiki.sa-mp.com/ (http://wiki.sa-mp.com/) - from here you can learn the basic functions of SA-MP which is the base. Follow all articles.

http://forum.sa-mp.com/forumdisplay.php?f=70 (http://forum.sa-mp.com/forumdisplay.php?f=70) - Tutorials board

http://weedarr.wikidot.com/samp (http://weedarr.wikidot.com/samp) another very useful site, from here you can find all scripting resources
I think this much would be enough for you naoufal  :)
Title: Re: Gamemode
Post by: Naoufal on February 03, 2015, 01:36:00 PM
I've started learning scripting by watching tutorials on SA-MP forums. Then i started myself doing what i've learned from there. Imo isn't any way to learn then watching tutorials and practice.

I'll give you some links:

http://wiki.sa-mp.com/ (http://wiki.sa-mp.com/) - from here you can learn the basic functions of SA-MP which is the base. Follow all articles.

http://forum.sa-mp.com/forumdisplay.php?f=70 (http://forum.sa-mp.com/forumdisplay.php?f=70) - Tutorials board

http://weedarr.wikidot.com/samp (http://weedarr.wikidot.com/samp) another very useful site, from here you can find all scripting resources
I am already checked the tutorials board. Im starting with a very simple lotto system, ill release it if its done. :)

Thanks PawnFox :)
Title: Re: Gamemode
Post by: Puranjay on February 03, 2015, 01:38:17 PM
Good Luck Naoufal
and work hard XD ;)
Title: Re: Gamemode
Post by: Naoufal on February 03, 2015, 03:09:00 PM
Good Luck Naoufal
and work hard XD ;)

Okay, thanks. ;p
Title: Re: Gamemode
Post by: Puranjay on February 03, 2015, 03:11:53 PM
Good Luck Naoufal
and work hard XD ;)

Okay, thanks. ;p
np  :)
Title: Re: Gamemode
Post by: Naoufal on February 03, 2015, 03:31:52 PM
This is my first script, i made it one week ago. Its a team script, i hope you like it. Correct me if there is something wrong in the script

http://pastebin.com/eqQNPcp9 (http://pastebin.com/eqQNPcp9)

Title: Re: Gamemode
Post by: [V]Playa on February 03, 2015, 03:37:17 PM
cool :D, no bugs detected :))
Title: Re: Gamemode
Post by: Puranjay on February 03, 2015, 03:38:06 PM
Good Work Man  :)
Title: Re: Gamemode
Post by: Naoufal on February 03, 2015, 03:40:47 PM
cool :D, no bugs detected :))
Thanks, Playa. :)
Title: Re: Gamemode
Post by: Naoufal on February 03, 2015, 06:13:19 PM
Good Work Man  :)
Thanks, puru.
Title: Re: Gamemode
Post by: PawnFox on February 03, 2015, 07:31:22 PM
Its good for first script. Now try to make commands, a dialog, some random messages ... etc.
Title: Re: Gamemode
Post by: Naoufal on February 03, 2015, 07:42:35 PM
Its good for first script. Now try to make commands, a dialog, some random messages ... etc.
Ill try, thanks. :)
Title: Re: Gamemode
Post by: mayhem on February 03, 2015, 08:38:49 PM
Naoufal for scripter.
Title: Re: Gamemode
Post by: Naoufal on February 03, 2015, 08:41:00 PM
Naoufal for scripter.
<3

im best script
Title: Re: Gamemode
Post by: Runi on February 03, 2015, 10:21:03 PM
I know nothing about scripting,for sure! The first script seems well coded(just a general opinion).Good luck with it mate,i'm proud of you!
Title: Re: Gamemode
Post by: Aryan on February 03, 2015, 10:24:40 PM
Great work nao! ;D
Title: Re: Gamemode
Post by: Naoufal on February 03, 2015, 10:58:46 PM
Thanks both! <3
Title: Re: Gamemode
Post by: Puranjay on February 04, 2015, 02:27:52 AM
Naoufal would be a member of devloper team soon :3
Title: Re: Gamemode
Post by: Fuse on February 04, 2015, 06:25:29 AM
My advice to you is to have patience, and learn the basics of pawn language as first priority.
Read others' scripts, learn from them. Create your own version of things.

Here is a very informative thread on SA-MP forums i think you should read:
http://forum.sa-mp.com/showthread.php?t=216730 (http://forum.sa-mp.com/showthread.php?t=216730)

Pawn Basics:
http://wiki.sa-mp.com/wiki/Scripting_Basics (http://wiki.sa-mp.com/wiki/Scripting_Basics)
Title: Re: Gamemode
Post by: [V]Playa on February 04, 2015, 07:25:48 AM
ok so i am not posting mine here to steal naoufal fans, im just posting it here to avoid creating a new one, this is 3 basic commands, /healme /cc /spray and /kill
http://pastebin.com/2TpPXHT7 (http://pastebin.com/2TpPXHT7)
Title: Re: Gamemode
Post by: Naoufal on February 04, 2015, 07:49:22 AM
My advice to you is to have patience, and learn the basics of pawn language as first priority.
Read others' scripts, learn from them. Create your own version of things.

Here is a very informative thread on SA-MP forums i think you should read:
http://forum.sa-mp.com/showthread.php?t=216730 (http://forum.sa-mp.com/showthread.php?t=216730)

Pawn Basics:
http://wiki.sa-mp.com/wiki/Scripting_Basics (http://wiki.sa-mp.com/wiki/Scripting_Basics)
Thanks! ill look in it. :)
Title: Re: Gamemode
Post by: Naoufal on February 04, 2015, 07:49:52 AM
Naoufal would be a member of devloper team soon :3
Lol.
Title: Re: Gamemode
Post by: Naoufal on February 04, 2015, 07:50:42 AM
ok so i am not posting mine here to steal naoufal fans, im just posting it here to avoid creating a new one, this is 3 basic commands, /healme /cc /spray and /kill
http://pastebin.com/2TpPXHT7 (http://pastebin.com/2TpPXHT7)
Hehe, nice
Title: Re: Gamemode
Post by: [V]Playa on February 04, 2015, 07:54:42 AM
Naoufal, next time use edit button, dont be like others..
Title: Re: Gamemode
Post by: Naoufal on February 04, 2015, 07:55:14 AM
Naoufal, next time use edit button, dont be like others..
Okay, sorry.
Title: Re: Gamemode
Post by: Naoufal on February 26, 2015, 01:12:41 PM
Hi all,

Im done with a join and leave message (very simple)

Pastebin: http://pastebin.com/wR8tMrmD (http://pastebin.com/wR8tMrmD)

Now im busy with a admin system!