-
Posts
245 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
News
Documentation
Posts posted by Uzzi25
-
-
Salut doresc si eu ca din aceastea 2 sa fac un singur meniu de buy car
Spoilerif(strcmp(cmd, "/buycar", true) == 0)
{
if(PlayerToPoint(3, playerid, 1448.6708,-2290.5664,13.5469) && GetPlayerVirtualWorld(playerid) == 0)
{
if(PlayerInfo[playerid][pPcarkey] != -1)
{
SendClientMessage(playerid, COLOR_WHITE, "Ai deja primul vehicul personal!");
return 1;
}
if(PlayerInfo[playerid][pLevel] < 4)
{
SendClientMessage(playerid, COLOR_WHITE, "Ai nevoie de level 4 ca sa achizitionezi un vehicul!");
return 1;
}
new string2[900], coordsstring[256];
format(coordsstring, sizeof(coordsstring), "Bike - 900.000$ - In stock: %d", BikeStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nFreeway - 1.200.000$ - In stock: %d", FreewayStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nSunrise - 1.500.000$ - In stock: %d", SunriseStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nPhoenix - 2.000.000$ - In stock: %d", PhoenixStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nClub - 2.300.000$ - In stock: %d", ClubStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nSavana - 2.700.000$ - In stock: %d", SavanaStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nSlamvan - 3.000.000$ - In stock: %d", SlamvanStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nEuros - 4.000.000$ - In stock: %d", EurosStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nWindsor - 4.500.000$ - In stock: %d", WindsorStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nHuntley - 5.000.000$ - In stock: %d", HuntleyStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nBuffalo - 7500000$ - In stock: %d", BuffaloStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nComet - 8.000.000$ - In stock: %d", CometStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nJester - 8.500.000$ - In stock: %d", JesterStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nNRG 500 - 9.000.000$ - In stock: %d", NRGStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nElegy - 12.000.000$ - In stock: %d", ElegyStock);
strcat(string2,coordsstring);
ShowPlayerDialog(playerid, DIALOGDEALER, DIALOG_STYLE_LIST, "{FFFFFF}Masini de level 4", string2, "Buy Car", "Close") ;
return 1;
}
else if(PlayerToPoint(3, playerid, 1448.8104,-2283.3618,13.5469) && GetPlayerVirtualWorld(playerid) == 0)
{
if(PlayerInfo[playerid][pPcarkey2] != -1)
{
SendClientMessage(playerid, COLOR_WHITE, "Ai deja al doilea vehicul personal!");
return 1;
}
if(PlayerInfo[playerid][pLevel] < 15)
{
SendClientMessage(playerid, COLOR_WHITE, "Ai nevoie de level 15 ca sa achizitionezi un vehicul!");
return 1;
}
new string2[900], coordsstring[256];
format(coordsstring, sizeof(coordsstring), "Sandking - 15.000.000$ - In stock: %d", SandkingStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nBullet - 17.000.000$ - In stock: %d", BulletStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nZR 350 - 18.000.000$ - In stock: %d", ZRStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nSuper GT - 20.000.000$ - In stock: %d", GTStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nInfernus - 40.000.000$ - In stock: %d", InfernusStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nMonster - 30.000.000$ - In stock: %d", MonsterStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nHotring A - 35.000.000$ - In stock: %d", HotringStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nSultan - 36.000.000$ - In stock: %d", SultanStock);
strcat(string2,coordsstring);
format(coordsstring, sizeof(coordsstring), "\nMaverick - 50.000.000$ - In stock: %d", MaverickStock);
strcat(string2,coordsstring);
ShowPlayerDialog(playerid, DIALOGDEALER2, DIALOG_STYLE_LIST, "{FFFFFF}Masini de level 15", string2, "Buy Car", "Close") ;
}
else return SendClientMessage(playerid, COLOR_WHITE, "Trebuie sa fii la dealership ca sa achizitionezi un vehicul! Foloseste /gps.");
}Ai incercat sa rezolvi singur?: Normal dar mise suprapun texturile
Doresc ca meniul de jos cel de lv 15 sa treaca la lv 4 !
Multumesc de ajutor !
-
Acum 1 minut, Er0R a spus:
1572.2820,-1391.4259,14.0234,225.7985
In care:
1572.2820 = X
-1391.4259 = Y
14.0234= Z
225.7985 = UNGHIUL
Iar daca te intrebi ce este acel 293din fata coordonatelor este skinul pe care il aveai in momentul salvarii
Multumesc !
-
Acum 5 minute, Er0R a spus:
https://wiki.sa-mp.com/wiki/Create3DTextLabel
Foarte simplu
Create3DTextLabel("(Aici scrii textul)",floatx,floaty,floatz,DrawDistance(cel ma folosit 20.0), 0(virtualworld), 1(distanta de la obiect la label);
Nu ai inteles sa fac un 3DTextLabel stiu dar nu stiu care sunt coordonatele bune de aici AddPlayerClass(293,1572.2820,-1391.4259,14.0234,225.7985,0,0,0,0,0,0); // adica care trebuie sa le adug gen cand setezi si spawn civil pe un server
-
Salut probabli ca ce veti citi aici vise pare banal la fel si mie dar chiar nu imi iese si nici nu stiu cum sa iau cordonatele !
Doresc sa mut un 3DTextLabel spre ex:Create3DTextLabel("aaaaaaaaaaaaaa");
Sa adaug cordonatele stiu unde dar nu stiu cum sa le iau din:AddPlayerClass(293,1572.2820,-1391.4259,14.0234,225.7985,0,0,0,0,0,0); //
Adica care trebuie luate ?
-
Acum 29 minute, Tud0r. #Imparat #Codat a spus:
Mdea nu e facut de el.Gamemode-ul a fost prima data aici(link-ul e intr-un comentariu de mai jos):http://pctroubleshooting.ro/topic/27367-vand-gamemode-samp-unic/
(scuze reclama)
Mda nimeni nu mai munceste pentru un server de samp in ziua de astazi !
-
Frumos cum zice si Tud0r daca e facut de tine 5/5 !
-
Poftim un gm de la care poti porni un Server DayZ
http://samp-scripts.com/post/15343/Zombie_Survival_EDIT_0.3x/VinPure/gamemodes/other
-
Acum 7 minute, George. a spus:
Am vazut si eu GM-ul dar cand am urcat Gm-ul pe host era buguit iventaru + ca este decat amx
Ei bine un Gamemode DayZ nu gasesti 100% perfect !
-
Nu se gasesc gm-uri DayZ poti incerca Survival dupa care sa il editezi si sa ajungi cu el la un gm DayZ
-
Frumos +1
Citez
La 2/5/2016la17:25, VeLo a spus:OFF: Nu ti se pare totusi ca e cam prea incarcat?
Dar se poate edita !
-
Frumos lam incercat ai +1 din partea mea !
-
-
Bravo +1
- 1
-
Frumos 4/5 !!
Comanda /buycar
in Arhivă probleme
Posted
Multumesc ! Rog un Moderator T/C