Quantcast

Jump to content

» «
Photo

Pawn 4 singleplayer

3 replies to this topic
grasmanek94
  • grasmanek94

    Player Hater

  • Members
  • Joined: 17 Dec 2008

#1

Posted 21 February 2013 - 01:29 PM Edited by grasmanek94, 21 February 2013 - 01:45 PM.

Hey everyone,

The mod I want to show is called "PAWN4Singleplayer" and it allows you to create scripts in PAWN for the singleplayer of the game.

It has also support for loading AMX plugins (dlls) made in C++ and normal DLL's (not for AMX).

It has around 500 native functions and uses the MTA Core.

Here are a few videos:



http://www.youtube.com/watch?v=Ycf5coAmmMA

This mod is actively developed and more features, fixes and improvements come with each day.

You can download the mod here:

http://goo.gl/fIExd

Instructions are included in the archive.

Waltzing Mouse
  • Waltzing Mouse

    Punk-ass Bitch

  • Members
  • Joined: 27 May 2008

#2

Posted 21 February 2013 - 08:38 PM

Am I right in saying this provides an open source way for porting multiplayer scripts to the singleplayer game?

If so, this looks amazing.

grasmanek94
  • grasmanek94

    Player Hater

  • Members
  • Joined: 17 Dec 2008

#3

Posted 22 February 2013 - 02:55 PM

QUOTE (Waltzing Mouse @ Thursday, Feb 21 2013, 20:38)
Am I right in saying this provides an open source way for porting multiplayer scripts to the singleplayer game?

If so, this looks amazing.

that is one of the thousands of possibilities smile.gif
But the sa-mp emu functions are not ready yet, the hard time is with 3DTextLabels,

can't seem to figure out a way to do it like in sa-mp.


nWo51289
  • nWo51289

    Outcast

  • Members
  • Joined: 26 Apr 2008

#4

Posted 18 April 2013 - 01:25 PM

Does this work for mapping? I did a test by just copying a bridge but it doesn't appear in game even so the console says 'bridge.amx' was loaded. Also is Streamer Plugin 2.6.1 compatible? Keep getting plugin load failed when trying to load the dll. I am also new to Pawn scripting so really don't know what I'm doing!

user posted image user posted image

CODE
[18-04-2013 || 16:00:47.912] Initializing samod 13084
[18-04-2013 || 16:00:47.912] Compiled: Feb 21 2013 19:43:36 CL:1700
[18-04-2013 || 16:00:47.912] OS: Windows Version 6.1537.7601
[18-04-2013 || 16:00:47.913] No proxyloader_d3d9.dll in current directory, loading system d3d9.dll..
[18-04-2013 || 16:00:47.916] Succesfully loaded C:\Windows\system32\d3d9.dll
[18-04-2013 || 16:00:47.917] load->orig_Direct3DCreate9
[18-04-2013 || 16:00:47.917] End of dll main
[18-04-2013 || 16:00:48.983] Direct3DCreate9() called. Returning 0x018C41D8.
[18-04-2013 || 16:00:50.097] Direct3DCreate9() called. Returning 0x018C4188.
[18-04-2013 || 16:01:03.129] Loading plugin 'streamer.dll' ...
[18-04-2013 || 16:01:03.129] Plugin 'streamer.dll' load failed.
[18-04-2013 || 16:01:03.129] Loading script 'bridge.amx' ...
[18-04-2013 || 16:01:03.130] Script 'bridge.amx' load succesful.
[18-04-2013 || 16:01:13.960] [Console] Welcome to the {FFFF0000}SA MOD{FFFFFFFF} {33FFFFFF}<<BASIC>>{FFFFFFFF} console
[18-04-2013 || 16:01:13.960] [Console] {FFFFFF00}Version 20130221 {FF00FFFF}Build 1942 {FFFFFFFF}[RELEASE]
[18-04-2013 || 16:01:13.960] [Console] -------------------------[KEYS]-------------------------
[18-04-2013 || 16:01:13.960] [Console] {FF00FF00}CTRL + ALT + F10{FFFFFFFF} : Close console
[18-04-2013 || 16:01:13.960] [Console] {FF00FF00}ARROW UP / ARROW DOWN{FFFFFFFF} : Set console text input to previous text / next text
[18-04-2013 || 16:01:13.960] [Console] {FF00FF00}PAGE UP / PAGE DOWN{FFFFFFFF} : Scroll console log up / down
[18-04-2013 || 16:01:13.960] [Console] {FF00FF00}TAB{FFFFFFFF} : To re-enter last used command
[18-04-2013 || 16:01:13.960] [Console] -----------------------[COMMANDS]-----------------------
[18-04-2013 || 16:01:13.960] [Console] Use '{FF00FF00}help{FFFFFFFF}' to see a list of available commands
[18-04-2013 || 16:01:13.960] [Console] Use '{FF00FF00}/{FFFFFFFF}' to call pawn commands
[18-04-2013 || 16:01:13.960] [Console] --------------------------------------------------------
[18-04-2013 || 16:02:42.816] Exited

[18-04-2013 || 16:02:42.818] Unloading all scripts...
[18-04-2013 || 16:02:42.818] ... all (1) scripts unloaded.
[18-04-2013 || 16:02:42.818] Unloading all plugins...
[18-04-2013 || 16:02:42.818] All (0) plugins unloaded.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users