|
|
#1 |
|
Little Clucker
![]() Join Date: May 2012
Posts: 45
Reputation: 4
|
WARNING:This threat is for beginners who need help,not for advanced ones.
This is my first tutorial,that's the reason it may be really bad. Things I'll be showing: 1. What is PAWNO 2. What is Gamemode 3. How to make a Gamemode 4. What is Filterscript 5. What is ZCMD 6. How to use ZCMD 7. How to make a simple Dialog 8. How to make a response for the dialog 9. How to create objects 10. How to create vehicles 1PAWNO is a program with which you script for your server. It can be a gamemode,or filterscript. 2.Game mode is a file which you have to write in server.cfg so your server can run. 3.First,you open "pawno.exe" and click new. You will see how it is filled with many things: OnGameModeInit,OnGameModeExit,OnPlayerText,OnPlaye rCommandText,OnPlayerConnect,OnPlayerDissconnect,O nPlayerRequestClass. These are all blank codes. You need to fill them with what you wish to happen in order to make your gamemode full. 4.Filterscript is a small file,again .pwn and .amx,but it is something which you add in filterscripts and server.cfg. When done with both,when connecting to your server you'll see changes-things added from it. The Filterscript is a way to add something you scripted which you don't want in your gamemode. 5ZCMD is a include you need to add in your "include" and than do a #include <ZCMD> below your #include <a_samp> to start reading it. It is the most easiest way to create commands. Here is the link to download it: CLICK When you finish downloading it,go to your server's directory, PAWNO,Includes,place it there. 6. Using ZCMD is really easy. For an example,you do like this: pawn Code:
Here is one of my commands: pawn Code:
So,let me explain more. pawn Code:
7. Creating a dialog is made by a command,let me show you an expample: pawn Code:
Let me explane how it goes now. pawn Code:
8 Making a dialog responce goes by this way. pawn Code:
9 Creating objects,let me give you an example. pawn Code:
Let me explain now. pawn Code:
10 Creating vehicles,let me give you an example. pawn Code:
The same goes for it with the model and Float:X,Y and Z,no rotations and colors at the end. |
|
|
|
|
|
#2 |
|
Big Clucker
![]() ![]() Join Date: Nov 2011
Location: Philippines
Posts: 177
Reputation: 20
|
Nice
|
|
|
|
|
|
#3 |
|
Little Clucker
![]() Join Date: Nov 2010
Posts: 22
Reputation: 0
|
Nice tut man
|
|
|
|
|
|
#4 |
|
Big Clucker
![]() ![]() Join Date: Feb 2012
Location: Mars
Posts: 115
Reputation: 12
|
No offense but this tutorial is MISLEADING.
First thing, you just copied the Dialog thing from the samp wiki and that's just stupid, no offense. pawn Code:
Then again, this is a epic fail. You didn't show the dialogid part here. And you forgot to mention the \r\n for Windows and \n for Linux. 2. You didn't #define COLOR_WHITE nor taught them how to do it. When I was a noob, I always made this mistake of not defining COLOR_WHITE and I didn't know how to define and all this stuff when i was a real noob. And then the filterscript part, That's just wrong knowledge. Filterscripts are mini-scripts that are used for the convenience of using/NOT using some part of the code. They can be easily loaded and unloaded without the server being disturbed. Then the PAWNO part. PAWNO is a coding language, not just SAMP scripting, but you can create MUCH stuff with it. Go google it on wikipedia. It's not just SAMP that uses PAWNO, It's many other games too! |
|
|
|
|
|
#5 | |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Mar 2012
Location: Mi, USA
Posts: 937
Reputation: 143
|
Quote:
um PAWNO is NOT a language! It is an editor for the Scripting language PAWN. Besides that i dont see where they say its only for samp. |
|
|
|
|
|
|
#6 |
|
Little Clucker
![]() Join Date: May 2012
Posts: 45
Reputation: 4
|
Look guys,all I wanted to do is just write something that will help very beginners with PAWNO,I am still learning with the OnDialogResponse,thats why I used the one from SAMP WIKI. Sorry for using other people's work,but just wanted to add it so I can help people who need help and get on this thread.
|
|
|
|
|
|
#7 |
|
Little Clucker
![]() Join Date: May 2012
Posts: 45
Reputation: 4
|
Let me add the define part.
DEFINES 1.Define is a code with which you use for making your work easier,here is an example. pawn Code:
pawn Code:
this is all I can add for now,I'm from a dongle and don't got much time left on the internet. Last edited by Tom Kingston; 08/06/2012 at 05:32 PM. |
|
|
|
|
|
#8 |
|
Banned
![]() Join Date: Jan 2012
Location: Bulgaria
Posts: 222
Reputation: 8
|
Good tut bro.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Tutorial]Starting Up A Successful Server | Jack_Rocker | Server Support | 1 | 02/10/2011 08:10 AM |
| [Tutorial] Kako napraviti tutorial sa TextDraw-ovima | Gagi_Corleone | Archive | 15 | 30/09/2011 11:56 AM |
| [GF-Tutorial] & [NON-GF-Tutorial] : Fahrschule Mit Fragen Erstellen V.2.0 [Erfor | playafaller | Archive | 1 | 26/12/2009 02:24 PM |