Author Topic: SA:MP Scripting References  (Read 5184 times)

0 Members and 1 Guest are viewing this topic.

Offline Simon

  • SA-MP Retirees
  • *
  • Posts: 1236
  • Retired
    • Awards
  • SA-MP username: [CP]Simon
SA:MP Scripting References
« on: November 06, 2010, 05:02:25 am »

You can feel free to post any references below.
« Last Edit: November 06, 2010, 05:16:19 am by Hazard »

Offline Slice

  • SA-MP Retirees
  • *
  • Posts: 811
    • Awards
Re: SA:MP Scripting References
« Reply #1 on: November 06, 2010, 03:10:48 pm »
Understanding the SA-MP sync.
A tutorial on basic SA-MP client-server communication. Also available in spanish.

Offline Faraday

  • The Scranton Strangler
  • SA-MP Retirees
  • *
  • Posts: 2598
  • Super[M]unkey
    • Awards
Re: SA:MP Scripting References
« Reply #2 on: November 06, 2010, 03:58:32 pm »
MySQL Tutorial for beginners.

Very basic mysql tutorial which teaches you how to connect to, send and receive information from a mysql database.

Offline Slide

  • SA-MP Retirees
  • *
  • Posts: 1324
  • Awards Overall winner of Littlewhitey's Weeks in 2012
    • Awards
  • SA-MP username: [sLK]Slide
Re: SA:MP Scripting References
« Reply #3 on: August 16, 2011, 10:38:47 pm »
Want to make your own first Game Mode?

Really basic, but very helpful.

Click me for link

This should get you starting.

Have fun and good luck!


and sorry for huge bump :x
« Last Edit: August 16, 2011, 10:43:05 pm by Slide »

Offline Matz

  • Big Fish
  • ****
  • Posts: 301
  • Awards Overall winner of Littlewhitey's Weeks in 2011
    • Awards
Re: SA:MP Scripting References
« Reply #4 on: August 17, 2011, 05:06:57 pm »
And there are Map Editing stuffs available.

SA-MP Map Editor
MTA-SA Client (recommended)

Offline Me[T]aL_

  • Fisher
  • ******
  • Posts: 1927
  • Que Pasa Am Mexican
    • Awards
Re: SA:MP Scripting References
« Reply #5 on: August 19, 2011, 01:22:47 am »
One question with the mta:editor if you make a map what do you do to convert it to samp and how do you put it in your gamemode?

Offline Slide

  • SA-MP Retirees
  • *
  • Posts: 1324
  • Awards Overall winner of Littlewhitey's Weeks in 2012
    • Awards
  • SA-MP username: [sLK]Slide
Re: SA:MP Scripting References
« Reply #6 on: August 19, 2011, 01:31:55 am »
One question with the mta:editor if you make a map what do you do to convert it to samp and how do you put it in your gamemode?

use www.convertffs.com for converting.

and then open .pwn file (whatever your script iz called, exmp: Virus.pwn) and then add Objects under  OnGameModeInit()

Online PawnFox

  • Management
  • *
  • Posts: 1916
  • Awards Littlewhitey's SA-MP Player of the Year 2013
    • Awards
Re: SA:MP Scripting References
« Reply #7 on: August 19, 2011, 04:58:13 am »
One question with the mta:editor if you make a map what do you do to convert it to samp and how do you put it in your gamemode?

use www.convertffs.com for converting.

and then open .pwn file (whatever your script iz called, exmp: Virus.pwn) and then add Objects under  OnGameModeInit()

Yes , but if you use 0.3c Objects , convertffs doesnt work fine , will convert another objects.

I use an application >> http://solidfiles.com/d/301d9/





Offline Matz

  • Big Fish
  • ****
  • Posts: 301
  • Awards Overall winner of Littlewhitey's Weeks in 2011
    • Awards
Re: SA:MP Scripting References
« Reply #8 on: August 19, 2011, 11:17:16 am »
Tiny info: There's a question from FAQs. "When I put biggest maps in my gamemode, some objects disappears?". Because SA-MP has a limit of object (I guess 400 Objects). When you are exceed the limit, some objects gonna be disappeared. So can use Streamers for fix these.

An example: http://forum.sa-mp.com/showthread.php?t=102865

Offline Me[T]aL_

  • Fisher
  • ******
  • Posts: 1927
  • Que Pasa Am Mexican
    • Awards
Re: SA:MP Scripting References
« Reply #9 on: August 19, 2011, 03:50:52 pm »
Thanks both of you but were can i find the file that i need to convert in the mta program files shiz
Edit:The solidfiles download doesnt work with my pc :(

Online PawnFox

  • Management
  • *
  • Posts: 1916
  • Awards Littlewhitey's SA-MP Player of the Year 2013
    • Awards
Re: SA:MP Scripting References
« Reply #10 on: August 19, 2011, 06:17:59 pm »
Thanks both of you but were can i find the file that i need to convert in the mta program files shiz
Edit:The solidfiles download doesnt work with my pc :(

i'll try to upload  on another website

.map file can be founded in
Code: [Select]
C:\Program Files\MTA San Andreas\server\mods\deathmatch\resources

Offline Me[T]aL_

  • Fisher
  • ******
  • Posts: 1927
  • Que Pasa Am Mexican
    • Awards
Re: SA:MP Scripting References
« Reply #11 on: August 19, 2011, 07:27:10 pm »
thanks :D
the download works i think its cuz its 64bit :x

Offline [RMS]Yakuza

  • Tiny Fish
  • *
  • Posts: 1
  • Pawno Scripting
    • SoG
    • Awards
Re: SA:MP Scripting References
« Reply #12 on: March 26, 2013, 07:41:02 pm »
Good Work =D

Offline Slide

  • SA-MP Retirees
  • *
  • Posts: 1324
  • Awards Overall winner of Littlewhitey's Weeks in 2012
    • Awards
  • SA-MP username: [sLK]Slide
Re: SA:MP Scripting References
« Reply #13 on: March 26, 2013, 07:48:15 pm »