28.04.2012, 08:59
(
Последний раз редактировалось Nirzor; 16.05.2015 в 15:53.
)
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
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.
Did You See Where I Placed The new TEST; After You Do The new Text; Thing Then Goto Game Mode And Go Like
This
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.
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
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;
}
//======================
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;
}
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;
}
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;
}
//======================
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