[GameMode] LFREEROAM 2011!!! + Custom Skins!!!!!!!!!
#1

Hi folks,

Heres my free roam game mode, I made from scratch, using help from a tutorial.

Its easy to install, just put the .amx, and .pwn, in your filterscripts folder, and add LFREEROAM, at the filterscripts line!
Note that you have to compile it first to get the .amx file.

Hope you enjoy.

IF ANYONE CAN GET ME SOME PICS, THAT WOULD BE GREAT!


Download:
http://solidfiles.com/d/f42b/

No mirrors please!
Reply
#2

You should fix the GM.

pawn Код:
C:\Users\iMarkx\AppData\Local\Temp\Rar$DI09.056\LFREEROAM.pwn(24) : error 021: symbol already defined: "AddPlayerClass"
C:\Users\iMarkx\AppData\Local\Temp\Rar$DI09.056\LFREEROAM.pwn(26) : error 010: invalid function or declaration
C:\Users\iMarkx\AppData\Local\Temp\Rar$DI09.056\LFREEROAM.pwn(34) : error 021: symbol already defined: "AddPlayerClass"
C:\Users\iMarkx\AppData\Local\Temp\Rar$DI09.056\LFREEROAM.pwn(36) : error 021: symbol already defined: "CreateVehicle"
C:\Users\iMarkx\AppData\Local\Temp\Rar$DI09.056\LFREEROAM.pwn(84) : error 010: invalid function or declaration
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase
That gamemode doesnt have anything... Heres the code (thats not a mirror)

pawn Код:
#include <a_samp>
#include <dini>
#include <dudb>

#define HELLO_WORLD "Hello World!"

#define COLOR_WHITE             0xFFFFFFAA
#define COLOR_RED               0xFF0000AA
#define COLOR_GREEN             0x00FF00AA
#define COLOR_BLUE              0x0000FFAA
#define COLOR_GRAY              0xAFAFAFAA
#define COLOR_YELLOW            0xFFFF00AA
#define COLOR_LIGHTBLUE         0x0AFFFFAA
#define COLOR_PURPLE            0xFF00FFAA
#define COLOR_ORANGE            0xFFBB00AA


main()
{
    print("LFREEROAM sucsessfully loaded! :D");
    return 1;
}

AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);

skin = the skin id
x = The X spawn position
y = The Y spawn position
z = The Z spawn position (height)
Angle = The angle, where the player looks at when spawning
weapon1-3 = Weapon 1-3 ([url=http://weedarr.wikidot.com/gunlist]ID)
weapon1-3_ammu = Ammu in weapon 1-3

AddPlayerClass(SKINID, 280, 281, 285, 286, 287, 277, 275, 163, 105, 106, 107, 102, 103, 104, 114, 115, 116, 108, 109, 110, 173, 174, 175, 247, 248, 121, 179, 203, 155, 205, 209, 264, 27, 16, 70, 10, 101, 13, 15, 188, 19, 216, 20);

CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay);
AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2);
AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay);

forward MyFunction();
public MyFunction()
{
    return 1;
}

forward KickPlayer(playerid);
public KickPlayer(playerid)
    return Kick(playerid);
   
//credits

//lowrida018:
//  * The gamemode/script
//  * Outside prison
//  * Bank interior

//Dracoblue: [www.dracoblue.net]
//  * Djson include
//  * Dini include

I//ncognito:
//  * Incognito's streamer [https://sampforum.blast.hk/showthread.php?tid=102865]

//Zeex:
//  * ZCMD [https://sampforum.blast.hk/showthread.php?tid=91354]

//Alex_Valde:
//  * The Prison INTERIOR. (OZ Prison). [https://sampforum.blast.hk/showthread.php?tid=191941]

//******: [www.y-less.com]
//  * sscanf

//Slice:
//  * Hold studio - For the weapon holdster script
//  * Some tutorials
//  * Mailer include

//Wups:
//  * OnPlayerShootPlayer include [https://sampforum.blast.hk/showthread.php?tid=195439]

//Admantis:
//  * After dead, laying on ground IDEA (made by myself) [Afterlife/accept dead : https://sampforum.blast.hk/showthread.php?tid=205223]
WTF dude?
Reply
#3

Thats what the tutorial said to do. And it works for me, but I have to use a car spawner for vehicles.
Reply
#4

where is description?

edit: i see mod, 1/10 -.-
Reply
#5

Quote:
Originally Posted by System64
Посмотреть сообщение
where is description?

edit: i see mod, 1/10 -.-
Shut up, how long you been here? Couple days? So no, you don't even have the right to say that. -.-
Reply
#6

This isn't a valid script -.- If you can't script, don't script.

That's all your code:

pawn Код:
#include <a_samp>
#include <dini>
#include <dudb>

#define HELLO_WORLD "Hello World!"

#define COLOR_WHITE             0xFFFFFFAA
#define COLOR_RED               0xFF0000AA
#define COLOR_GREEN             0x00FF00AA
#define COLOR_BLUE              0x0000FFAA
#define COLOR_GRAY              0xAFAFAFAA
#define COLOR_YELLOW            0xFFFF00AA
#define COLOR_LIGHTBLUE         0x0AFFFFAA
#define COLOR_PURPLE            0xFF00FFAA
#define COLOR_ORANGE            0xFFBB00AA


main()
{
    print("LFREEROAM sucsessfully loaded! :D");
    return 1;
}

AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);

skin = the skin id
x = The X spawn position
y = The Y spawn position
z = The Z spawn position (height)
Angle = The angle, where the player looks at when spawning
weapon1-3 = Weapon 1-3 ([url=http://weedarr.wikidot.com/gunlist]ID)
weapon1-3_ammu = Ammu in weapon 1-3

AddPlayerClass(SKINID, 280, 281, 285, 286, 287, 277, 275, 163, 105, 106, 107, 102, 103, 104, 114, 115, 116, 108, 109, 110, 173, 174, 175, 247, 248, 121, 179, 203, 155, 205, 209, 264, 27, 16, 70, 10, 101, 13, 15, 188, 19, 216, 20);

CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay);
AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2);
AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay);

forward MyFunction();
public MyFunction()
{
    return 1;
}

forward KickPlayer(playerid);
public KickPlayer(playerid)
    return Kick(playerid);
   
//credits

//lowrida018:
//  * The gamemode/script
//  * Outside prison
//  * Bank interior

//Dracoblue: [www.dracoblue.net]
//  * Djson include
//  * Dini include

I//ncognito:
//  * Incognito's streamer [https://sampforum.blast.hk/showthread.php?tid=102865]

//Zeex:
//  * ZCMD [https://sampforum.blast.hk/showthread.php?tid=91354]

//Alex_Valde:
//  * The Prison INTERIOR. (OZ Prison). [https://sampforum.blast.hk/showthread.php?tid=191941]

//******: [www.y-less.com]
//  * sscanf

//Slice:
//  * Hold studio - For the weapon holdster script
//  * Some tutorials
//  * Mailer include

//Wups:
//  * OnPlayerShootPlayer include [https://sampforum.blast.hk/showthread.php?tid=195439]

//Admantis:
//  * After dead, laying on ground IDEA (made by myself) [Afterlife/accept dead : https://sampforum.blast.hk/showthread.php?tid=205223]

(MarkX also reported this)
Reply
#7

Quote:
Originally Posted by lowrida018
Посмотреть сообщение
Shut up, how long you been here? Couple days? So no, you don't even have the right to say that. -.-
lol !!!! thts how a noob like u replies when asked a bit about ur stupid gm which got nothing in it !!! if u cant give a proper explanation then leave samp !! instead of posting shit like tht here
Reply
#8

Quote:
Originally Posted by Xtreme_playa
Посмотреть сообщение
lol !!!! thts how a noob like u replies when asked a bit about ur stupid gm which got nothing in it !!! if u cant give a proper explanation then leave samp !! instead of posting shit like tht here
If YOU can't script, you shouldn't talk shit. I can't believe you had the audacity to call his script bullshit, without you scripting your own script. He gave it a try, and I'm proud of how much he tried at scripting.
Good job, oh by the way, it's like this for the comments:
pawn Код:
/* <- Multiple Lines Comment
Hi
*/

// <- SINGLE line comment
// These messages will be ignored by the compiler.
Lowrida018, you should go look over the SA-MP wiki, and look for more advanced callbacks.
Reply
#9

Quote:
Originally Posted by Stuntkillas
Посмотреть сообщение
If YOU can't script, you shouldn't talk shit. I can't believe you had the audacity to call his script bullshit, without you scripting your own script. He gave it a try, and I'm proud of how much he tried at scripting.
Good job, oh by the way, it's like this for the comments:
pawn Код:
/* <- Multiple Lines Comment
Hi
*/

// <- SINGLE line comment
// These messages will be ignored by the compiler.
Lowrida018, you should go look over the SA-MP wiki, and look for more advanced callbacks.
This is gonna sound dum but, wheres the link to the game mode tutorial? Lol
Reply
#10

Quote:
Originally Posted by lowrida018
Посмотреть сообщение
Its easy to install, just put the .amx, and .pwn, in your filterscripts folder, and add LFREEROAM, at the Gamemode line!
Lool. xD

1/10, would have rated 2 if you would have atleast mentioned the installation correct.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)