free

News

collapse

User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

Re: Argonath RPG Official Clan: Svensson - Est. 2007 by Mr. Goobii
[August 20, 2025, 03:12:11 pm]


Re: The Soprano Family | Royal Loyalty by Dean.
[August 03, 2025, 11:23:58 pm]


Re: Rest in peace by Dean.
[August 03, 2025, 11:23:30 pm]


Re: Stopping by by Dean.
[August 03, 2025, 11:22:35 pm]


Re: ordinary day in VCMP by Denlow
[July 28, 2025, 04:58:56 pm]


Re: The Soprano Family | Royal Loyalty by .Mario.
[July 26, 2025, 03:05:43 pm]


Re: [SA:MP]House of Sforza | The Elite Power | Estd. 2006 | LS - LV by FrankCivello
[July 17, 2025, 12:50:43 am]


NOTICE OF PARKING ENFORCEMENT CHANGES by Huntsman
[June 19, 2025, 05:22:50 pm]


Re: Stopping by by Sinister
[June 08, 2025, 01:58:04 pm]


Re: Stopping by by Ehks
[June 04, 2025, 12:25:17 am]


Re: Rest in peace by Stefanrsb
[June 02, 2025, 03:38:02 am]


Re: [SA:MP]House of Sforza | The Elite Power | Estd. 2006 | LS - LV by Stefanrsb
[June 02, 2025, 03:09:22 am]

* Who's Online

  • Dot Guests: 108
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Birthday Calender

September 2025
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6
7 8 9 10 [11] 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

PAWN Tutorials

Poncho · 1981

0 Members and 1 Guest are viewing this topic.

Offline PonchoTopic starter

  • [WS]Poncho
  • Regular
  • **
    • Posts: 406
    With us since: 11/01/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
on: March 26, 2008, 01:36:51 am
Anyone know any good PAWNO tutorials or resources? Other than the samp wiki?

I code in C++, C#, PHP with MySQL, AJAX, AS2 and AS3 but have just started PAWNO a few days ago. It seems pretty straight forward but just need help on a few things.

So I was wondering what the best resources and websites are, and if there are any good forums etc.

Also, if you guys ever had any time, could you write up some tutorials here? Like in a "Scripting" forum on here, then all members that use PAWNO could add to it and help each other?

Just a thought.

Thanks for your time,

Poncho.


Signature made by Poncho


Offline The_Wolf

  • Legend
  • Veteran
  • ***
    • Posts: 5287
    With us since: 06/12/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #1 on: March 26, 2008, 12:45:32 pm
 You can find PAWNO help at the SA-MP forums and on the website that has the copyrights of PAWNO http://compuphase.com/pawn/pawn.htm . I believe u can find some help here - CompuPhase posted some info about PAWNO scripting ;)


Beware from the Wolf...


Offline Icarus

  • [AVt]Brad
  • Regular
  • **
    • Posts: 707
    With us since: 21/08/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #2 on: March 26, 2008, 12:47:53 pm
No you cant. PAWNO isnt a scripting language - its an editor.  The actual language is pawn - and I learnt it by reading scripts in the server package.

[Avt]Brad


Offline PonchoTopic starter

  • [WS]Poncho
  • Regular
  • **
    • Posts: 406
    With us since: 11/01/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #3 on: March 26, 2008, 10:18:25 pm
Ah okay thanks TL, I'll look around on there, and okay Icarus sorry, PAWN.


Signature made by Poncho


Offline Dave

  • Hero
  • ****
    • Posts: 3106
    With us since: 21/08/2006
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #4 on: March 27, 2008, 12:12:06 am
No you cant. PAWNO isnt a scripting language - its an editor.  The actual language is pawn - and I learnt it by reading scripts in the server package.

Damn you got here before me - my definition - PAWNO is the complier , PAWN is the 1337 0WN463 14N6U463

The tuts on the SA:MP wiki suck, i suggest teaching yourself from working examples and readin through the scripting problems section.



Offline stiffler2100

  • Veteran
  • ***
    • Posts: 2983
    With us since: 05/04/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #5 on: March 27, 2008, 10:27:16 am
i got a script you can look through which tells you what does what....let me find it and i will upload for u:)



Offline Gimli

  • Maiar
  • *****
    • Posts: 6659
  • Gimli - also known as [Rstar]xcasio
    • xcasio
  • With us since: 21/05/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #6 on: March 27, 2008, 10:29:07 am

"The purpose of life is to live it, to taste experience to the utmost, to reach out eagerly and without fear for newer and richer experience."
- Eleanor Roosevelt


Offline stiffler2100

  • Veteran
  • ***
    • Posts: 2983
    With us since: 05/04/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #7 on: March 27, 2008, 10:31:53 am
Tutorial.pwn

there we go:D



Offline Obi1

  • Regular
  • **
    • Posts: 1242
  • IG: Elliot_Ness
  • With us since: 22/07/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • IgNaZio101
Reply #8 on: March 27, 2008, 11:25:07 am
This tutorial better work >_< I just cant seem to understand scripting.

I can use Debug fine.... The rest is like me speaking chinese

EDIT: WooooooT!

Scripted my first bit! It complied fine! ftw!

public OnPlayerText(playerid, text[])
{
new string[256];
format(string,sizeof(string),"Message sent %s",text,string);
SendClientMessage(playerid,0x33AA33AA,string);
   return 1;
}

I thought this was Obi1 and jizzed.


Offline [Rstar]Razor

  • I'll introduce your face to the floor and I promise your relationship will be intimate.
  • Veteran
  • ***
    • Posts: 2540
  • Smooth business.
  • With us since: 31/12/2006
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: [Rstar]Razor
Reply #9 on: March 28, 2008, 01:18:58 am
I know a few bit of pawn but I cant understand the fking stupid strok, strlen.. :S
HELP  :help:



Offline WDoyle

  • Owner
  • *******
    • Posts: 1178
  • [Rstar]Wdoyle
  • With us since: 04/03/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • Discord: wdoyle#7378
  • V:MP: [Rstar]Wdoyle
Reply #10 on: March 28, 2008, 09:28:23 am
personally  i believe that scripting isn't too hard if you understand how it all works

- Former developer for SA:MP back in 2008, creator of the Argonath Lotto and many SA:MP interiors
- Co-founder of ALS - Armed Limo Service - 2007 - 2010
- Rstar clan member - 2007 - present


Offline AndreTamm

  • User
  • *
    • Posts: 33
    With us since: 28/03/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #11 on: March 28, 2008, 10:35:11 am
Agreed with Haldir, though wiki.sa-mp.com has good tutorials, few made by me also. :D

public OnPlayerText(playerid, text[])
{
new string[256];
format(string,sizeof(string),"Message sent %s",text,string);
SendClientMessage(playerid,0x33AA33AA,string);
   return 1;
}
Compiling doesn't mean working.
You are formatting 2 things into one "%s" + What is string, your empty variable?
Code: [Select]
public OnPlayerText(playerid, text[])
{
    new string[256];
    format(string, sizeof(string), "%s", text);
    SendClientMessage(playerid, 0x33AA33AA, string);
    return 1;
}



Offline The_Wolf

  • Legend
  • Veteran
  • ***
    • Posts: 5287
    With us since: 06/12/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #12 on: March 28, 2008, 01:12:03 pm
 LUA is a lot better scripting language ... and a easyer one :razz:


Beware from the Wolf...


Offline Dave

  • Hero
  • ****
    • Posts: 3106
    With us since: 21/08/2006
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #13 on: March 28, 2008, 05:11:57 pm
arognathscriptingsupport.smfforfree4.co m or it might be argosscriptingsupport



Offline PonchoTopic starter

  • [WS]Poncho
  • Regular
  • **
    • Posts: 406
    With us since: 11/01/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #14 on: April 05, 2008, 02:35:04 pm
Thanks for all the help, I had forgotten I had posted this, so there are a lot more responses than there were when I last looked.

Thanks for all the help guys and all the links, and I'll look at Tutorial.pwn, I've got pretty far so far with it as most is straight forward, and I got strtok(); working quite easily. Only when I tried it again, I just get a tag mismatch error on the line with else if(strcmp... even though the syntax is exactly the same as the previous strtok(); function with different variables...

Also, what I really want to do now is use the database functions but can't find any info on them, except some tutorials in russian on the samp wiki...

So if anyone can find anything on them, it would be much appreciated.

Thanks for all the help so far.


Signature made by Poncho


 


free
free
SimplePortal 2.3.7 © 2008-2025, SimplePortal