Freeroam (only cars and guns and teleports) URGENTLY Wanted
#1

hey, i am looking for a gm that give you the liberty to do what you want (within reason )
i want a GM that allows the player to:

roam around and drive
kill people (with guns)
and a few teleports to major locations (the pirate ship, the aiports, san fierro train station ETC)

does one exsist?
if not then i am requesting some scripters to do so,
i have NO idea how to script and there are no tutorials how to make a freeroam gm, so i need help URGENTLY

thanks guys!!
Reply
#2

The reason there are no tutorials is because in essence GTA already is Freeroam. Very little scripting is required towards the gamemode. In fact, all you need to do is make some teleports (extremely simple commands) and spawn some vehicles. If you can't manage this, I'm not sure why you're here.
Reply
#3

Quote:
Originally Posted by Weirdosport
The reason there are no tutorials is because in essence GTA already is Freeroam. Very little scripting is required towards the gamemode. In fact, all you need to do is make some teleports (extremely simple commands) and spawn some vehicles. If you can't manage this, I'm not sure why you're here.
alright dont be a complete bully, i meant there were not tutourials on HOW To set a gm, like when it starts, the title appears on the screen, the player select, setting car spwn location, and making teleports

and the aim if san andreas is NOT freeroam, its missions and gang war
if your going to critisise people just because you are better than them, im not sure why YOUR here
Reply
#4

I'm here to help people with scripting problems. Your query is not a scripting problem, it's a script request.

http://forum.sa-mp.com/index.php?topic=94387.0

And if you run the "default" gamemode on SA-MP, you won't find any gangs or missions, you will find a big empty map.

Empty map + cars = Freeroam.

https://sampwiki.blast.hk/wiki/CreateVehicle
https://sampwiki.blast.hk/wiki/Category:..._Documentation
https://sampwiki.blast.hk/wiki/Scripting_Basics
Reply
#5

Quote:
Originally Posted by Weirdosport
I'm here to help people with scripting problems. Your query is not a scripting problem, it's a script request.

And if you run the "default" gamemode on SA-MP, you won't find any gangs or missions, you will find a big empty map.

Empty map + cars = Freeroam.
exactly, i tried this, but i still need help, i cant change the name from **Las Venturas Money Grub**

i cant set car spawn locations, simply because i dont know how
and the teleports is a whole new thing, i need some kind of teleport maker

if you can help please say

ok thanks for the links, i didnt see them before
Reply
#6

If you open pawno, and press the new button, you'll be presented with a page full of callbacks.

For the time being, you won't need most of these, so delete the stuff there and paste this for the time being:

pawn Код:
#include <a_samp>

main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}

public OnGameModeInit()
{
    SetGameModeText("Your Name Here");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}

public OnGameModeExit()
{
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
        // Do something here
        return 1;
    }
    return 0;
}
When loaded, this gamemode will give the name in the server window that you specify, and allow you to spawn as CJ at the casino place up the escalators in LV.

To add vehicles, you need to load debugger, either from ingame or via the RCON window.

This gives you access to the /v command, and several other useful commands.

By typing "/v sand" you spawn a sandking.

To save a player position of vehicle position, type /save. To access these co-ordinates exit SA-MP and look in your GTA folder. The file "savedpositions.txt" should contain the co-ordinates.
Reply
#7

Quote:
Originally Posted by Weirdosport
If you open pawno, and press the new button, you'll be presented with a page full of callbacks.

For the time being, you won't need most of these, so delete the stuff there and paste this for the time being:

pawn Код:
#include <a_samp>

main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}

public OnGameModeInit()
{
    SetGameModeText("Your Name Here");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}

public OnGameModeExit()
{
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
        // Do something here
        return 1;
    }
    return 0;
}
When loaded, this gamemode will give the name in the server window that you specify, and allow you to spawn as CJ at the casino place up the escalators in LV.
thanks alot, however, im hosting the server on kingj.net, and i dont have pawno, what should i use, OR how do i get his pawno?

thanks alot, sorry for being rude...
Reply
#8

Even if you're hosting it elsewhere, it would be beneficial to download the SA-MP server and use it privately on your computer for testing. This way you can test everything you make without anyone else seeing before you put it on your main server.

http://sa-mp.com/download.php - You need "SA-MP Windows Server Download" (Or the linux one if you're a linux)

This download includes all the files to run a server, and pawno, and the pawn compiler.
Reply
#9

Quote:
Originally Posted by Weirdosport
Even if you're hosting it elsewhere, it would be beneficial to download the SA-MP server and use it privately on your computer for testing. This way you can test everything you make without anyone else seeing before you put it on your main server.

http://sa-mp.com/download.php - You need "SA-MP Windows Server Download" (Or the linux one if you're a linux)

This download includes all the files to run a server, and pawno, and the pawn compiler.
ok thanks, i downloaded it and found the pawno, do i just do new?

EDIT, ok i found it, and set the name to what i want it to, do i just load it up now?
Reply
#10

You need to save the file you just made in the "gamemodes" folder, and then press F5 (compile). Alternatively click Build -> Compile.

When you save, it creates a .pwn file. When you compile, it creates a .amx file. It is this .amx file that the client deals with. Once you've made sure you have Filename.amx in your gamemodes folder you can load it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)