[Tutorial] Easiest Way To Create GangZone
#1

First of all download this
http://www.solidfiles.com/d/f34f072a8d/


Then We Start With Our Gang-Zone Scripting Ok Now watch carefully guys this is the easiest tutorial in whole SA-MP
as i know and easiest machine to create gangzone i uploaded the file download it first and use it like this.




You saw the picture there is the san andreas map so as i say you do the thing i say read it carefully.

click on the map and hold left click like we do to select many folder like that choose a specific place to create your

gang-zone then after you click release the left click button on your mouse then a screen will appear there will be

written up Vehicle,Player Spawn,Gang Zones & World Boundaries, Click on the Gang Zones & World Boundaries

Then There Will Be 2 Options There Like USE WORLD BOUNDARIES and another one is USE GANG ZONES then click

on USE GANG ZONES Then There Is Written VARUABLE NAME Give The Name Suppose I Give Name TEST Then

Choose YOur Zone Colour To What Ever You Like Suppose I Took BLACK Colour Then Press Ok.

Then You Will Have Something A Pawn Code Like This

pawn Код:
//======================
// Above OnGameModeInit:
new TEST;

// OnGameModeInit Insert
public OnGameModeInit() {
    TEST = GangZoneCreate(1413.023, -1518.124, 1413.023, -1518.124);
    return 1;
}
// Player Spawn
public OnPlayerSpawn(playerid) {
    GangZoneShowForPlayer(playerid, TEST, 0x00000096);
    return 1;
}
//======================
After You Fine This Code Goto Samp pawn And Open Pawn File New Pawn Or Your Old One If You Want To Put In

That Then Do As I Do.

pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

#else

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

#endif
new TEST;

public OnGameModeInit()
{
    // Don't use these lines if it's a filterscript
    SetGameModeText("Blank Script");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}
Did You See Where I Placed The new TEST; After You Do The new Text; Thing Then Goto Game Mode And Go Like

This

pawn Код:
public OnGameModeInit()
{
    // Don't use these lines if it's a filterscript
    SetGameModeText("Blank Script");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    //Gangzones
    GangZoneShowForPlayer(playerid, TEST, 0x00000096);
    return 1;
}
Do Like This In OnGameModeInit()

Then After You Finished The Last Step For Which You Will Get It Completed Goto OnPlayerSpawn And Give This Code

Like This I Give.

pawn Код:
public OnPlayerSpawn(playerid) {
    GangZoneShowForPlayer(playerid, TEST, 0x00000096);
    return 1;
}
//======================
After You Finished It Save The Pawn Go In-Game And Check If Your Gang-Zone Came.

Thank You! For Seeing My Easiest Tutorial

PASTE BIN ONE
http://pastebin.com/tpy8V1Tv

IF I HELPED YOU PLEASE +REP ME I REALLY NEED REP
Reply
#2

Good try. IF you use pawn tags instead of html it would look perfect.
Reply
#3

Thank You! For Repping Me And I Am Trying To Fix Wait
Reply
#4

SomeOne Reply Give Marks If It HELPED YOU +REP Me Please I Need REP
Reply
#5

Quote:
Originally Posted by Nirzor
Посмотреть сообщение
SomeOne Reply Give Marks If It HELPED YOU +REP Me Please I Need REP
Dont beg for rep...


Nice tutorial
- posted from my iphone
Reply
#6

I Need it cause i have a important advertisement to work on thats y i need
Reply
#7

REMOVED
Reply
#8

Bad tutorial, because you haven't explained anything.
Reply
#9

i like it Nice
Reply
#10

Hey yo! if you can explain in better way my friend why can't you make a software by yourself and write long letters

i explained as much as needed for a player to understand and thank you for the comments guys i also like your comment my explanation brother
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)