Jump to content
  • 0

Teritorii cum le fac intr-o comanda


jupanu

Question

Cum fac ca teritoriile sa apara intr-o comanda adica scriu /wargang imi aleg ce vreau sa fiu grove geng etc etc si dupaia sa imi arate teritoriile si ca sa nu mai vad teritoriile sa scriu /exitgang  cum fac asta????????

DA Si cum fac ca sa iau celelalte teritorii????????????

  • www.LcsNet.org
  • 91.233.106.13:7777
  • www.Joc-Miniclip.info

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

nu cunva ai vrea sa iti dam noi meniurile sau dialogurile cu echipele si etc :) direct toata comanda :) ?

iti ajut titlul :) comanda nu ;) creezi zona de gang war la OnGameModeInit si la comanda pui GangZoneShowForPlayer(playerid, Gang-ul, culoarea); :) la /exitgang pui GangZoneHideForPlayer(playerid, Zona); :)

usor nu :) ? nee :) nai idee ;) vrei sa copi de la RSS /gangwar :) dar nai sanse :);) doar daca iti da un adevarat scripter comanda direct facuta :)

tLYRl.gif
Link to comment
Share on other sites

Guest PlayON

RuNix" post="35378" timestamp="1278763452"]

nu cunva ai vrea sa iti dam noi meniurile sau dialogurile cu echipele si etc :) direct toata comanda :) ?

iti ajut titlul :) comanda nu ;) creezi zona de gang war la OnGameModeInit si la comanda pui GangZoneShowForPlayer(playerid, Gang-ul, culoarea); :) la /exitgang pui GangZoneHideForPlayer(playerid, Zona); :)

usor nu :) ? nee :) nai idee ;) vrei sa copi de la RSS /gangwar :) dar nai sanse :);) doar daca iti da un adevarat scripter comanda direct facuta :)

Smiley MANIA?=))...Ce sa-i faci, si eu as vrea sa-ti copiez /gangwar sa sti...da imi ia prea mult timp, e belea idea ;)

Link to comment
Share on other sites

Guest farse

Nu,dar este regula 'anti cocalari'


//OnGameModeInit

GangZoneCreate http://wiki.sa-mp.com/wiki/GangZoneCreate

//Cand isi alege gangul

GangZoneShowForPlayer http://wiki.sa-mp.com/wiki/GangZoneShowForPlayer - Pui pentru fiecare teritoriu

GangZoneHideForPlayer http://wiki.sa-mp.com/wiki/GangZoneHideForPlayer -la /exitgang

Link to comment
Share on other sites

Mah incearka aja:

if(strcmp(cmdtext, "/GangWars",true) == 0)
{
ShowMenuForPlayer(Food,playerid);
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, 0xD7D700FF, "Alegeti Gang-ul ");
return 1;
}
if(strcmp(cmdtext, "/ExitGang", true) == 0) {
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 28, 500);
SetPlayerPos(playerid, 383.9547,2528.0894,16.4277);
GangZoneDestroy(groove);
GangZoneDestroy(ballas);
GangZoneDestroy(vagos);
GangZoneDestroy(swat);
GangZoneDestroy(aztecas);
SetPlayerSkin(playerid, skinid);
SendClientMessage(playerid, yellow, "Ai iesit din zona de batalie Gang Wars");
SendClientMessage(playerid, red, "Pentru ati schimba skinul scrie /skin");
return 1;
}
si la OnGameModeInit :
Food = CreateMenu("GangWars", 1, 50.0, 180.0, 200.0, 200.0);

AddMenuItem(Food, 0, "GrooveStreet");
AddMenuItem(Food, 0, "Ballas");
AddMenuItem(Food, 0, "Vagos");
AddMenuItem(Food, 0, "Swat");
AddMenuItem(Food, 0, "Aztecas");
AddMenuItem(Food, 0, "Exit");

Arme = CreateMenu("ARmE", 1,50.0, 180.0, 200.0, 200.0);

AddMenuItem(Arme, 0, "aK-47            15.000$");
AddMenuItem(Arme, 0, "m4               17.000$");
AddMenuItem(Arme, 0, "uZi                5000$");
AddMenuItem(Arme, 0, "TeC9               5500$");
AddMenuItem(Arme, 0, "Sawn-off         10.000$");
AddMenuItem(Arme, 0, "PiStOl            2.000$");
AddMenuItem(Arme, 0, "BaseballBat         300$");
AddMenuItem(Arme, 0, "SniperRifle       7.000$");
AddMenuItem(Arme, 0, "Camera              500$");
AddMenuItem(Arme, 0, "Health+Armour     2.000$");

groove = GangZoneCreate(2150.834716, -1890.550659, 2614.834716, -1458.550659);
ballas = GangZoneCreate(930.888183, -1397.631225, 1314.888183, -1045.631225);
vagos = GangZoneCreate(2151.819824, -1302.064086, 2847.819824, -974.064086);
swat = GangZoneCreate(1222.981811, -1875.536743, 1854.981811, -1483.536743);
aztecas = GangZoneCreate(2351.109863, -2188.587402, 3055.109863, -1772.587280);
aJa pentru /arme:
if(strcmp(cmdtext, "/arme",true)==0)
{
ShowMenuForPlayer(Arme,playerid);
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, 0xD7D700FF, "Alege-ti ArMa ");
return 1;
}

Cam asta e  :) ... simPlu(10 min sa faK FS)

Link to comment
Share on other sites

Mah incearka aja:

if(strcmp(cmdtext, "/GangWars",true) == 0)
{
ShowMenuForPlayer(Food,playerid);
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, 0xD7D700FF, "Alegeti Gang-ul ");
return 1;
}
if(strcmp(cmdtext, "/ExitGang", true) == 0) {
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 28, 500);
SetPlayerPos(playerid, 383.9547,2528.0894,16.4277);
GangZoneDestroy(groove);
GangZoneDestroy(ballas);
GangZoneDestroy(vagos);
GangZoneDestroy(swat);
GangZoneDestroy(aztecas);
SetPlayerSkin(playerid, skinid);
SendClientMessage(playerid, yellow, "Ai iesit din zona de batalie Gang Wars");
SendClientMessage(playerid, red, "Pentru ati schimba skinul scrie /skin");
return 1;
}
si la OnGameModeInit :
Food = CreateMenu("GangWars", 1, 50.0, 180.0, 200.0, 200.0);

AddMenuItem(Food, 0, "GrooveStreet");
AddMenuItem(Food, 0, "Ballas");
AddMenuItem(Food, 0, "Vagos");
AddMenuItem(Food, 0, "Swat");
AddMenuItem(Food, 0, "Aztecas");
AddMenuItem(Food, 0, "Exit");

Arme = CreateMenu("ARmE", 1,50.0, 180.0, 200.0, 200.0);

AddMenuItem(Arme, 0, "aK-47            15.000$");
AddMenuItem(Arme, 0, "m4               17.000$");
AddMenuItem(Arme, 0, "uZi                5000$");
AddMenuItem(Arme, 0, "TeC9               5500$");
AddMenuItem(Arme, 0, "Sawn-off         10.000$");
AddMenuItem(Arme, 0, "PiStOl            2.000$");
AddMenuItem(Arme, 0, "BaseballBat         300$");
AddMenuItem(Arme, 0, "SniperRifle       7.000$");
AddMenuItem(Arme, 0, "Camera              500$");
AddMenuItem(Arme, 0, "Health+Armour     2.000$");

groove = GangZoneCreate(2150.834716, -1890.550659, 2614.834716, -1458.550659);
ballas = GangZoneCreate(930.888183, -1397.631225, 1314.888183, -1045.631225);
vagos = GangZoneCreate(2151.819824, -1302.064086, 2847.819824, -974.064086);
swat = GangZoneCreate(1222.981811, -1875.536743, 1854.981811, -1483.536743);
aztecas = GangZoneCreate(2351.109863, -2188.587402, 3055.109863, -1772.587280);
aJa pentru /arme:
if(strcmp(cmdtext, "/arme",true)==0)
{
ShowMenuForPlayer(Arme,playerid);
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, 0xD7D700FF, "Alege-ti ArMa ");
return 1;
}

Cam asta e  :) ... simPlu(10 min sa faK FS)

Am o intrebare cum fac cind mor sa ma dae in gangu ista dinou ??? ??? ??? ???

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.