![](https://www.sa-mp.ro/uploads/set_resources_42/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
IcE.
-
Posts
1,094 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by IcE.
-
-
Nu se cer fs-uri.
-
Cauta linia OnPlayerEnterVehicle si dedesupt adauga asta :
[pawn] if(IsAnOwnableCar(vehicleid) && CarInfo[vehicleid][cLock] == 1 && CarInfo[vehicleid][cOwned] == 1)
{
if(PlayerInfo[playerid][pAdmin] >= 5) { }
else
{
new Float:cx, Float:cy, Float:cz;
GetPlayerPos(playerid, cx, cy, cz);
SetPlayerPos(playerid, cx, cy, cz);
}
}[/pawn]
La OnPlayerConnect adaugi:
[pawn]
for(new h = 371; h < sizeof(CarInfo); h++)//371 inlocui cu id-u de la prima masina!
{
SetVehicleParamsForPlayer(h,playerid,0,CarInfo[h][cLock]);
}[/pawn]
-
Vorbeste cu owneru sa regleze ora la dedicat :)
-
Trebuie complit cu pawno in care ai include 0.3d .
Fa asa:
Descarca un pawno 0.3d punel pe desktop si intra in el si dai complire merge 100%.
-
Cine pute? :|
[pawn]
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new carmodel;
carmodel = GetVehicleModel(vehicleid);
if(carmodel == 425 || carmodel == 432)
{
if(PlayerInfo[playerid][pAdmin] >= 2) { }//modifici tu adminlevel cu cat vrei!
else
{
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, true);
SendClientMessage(playerid,-1,"[server-Rules] - Nai voie daca nu esti admin!");
}
}
return 1;
}
[/pawn]
Nu se cer scripuri.
-
Ca sa schimbi pickup-u ai doua varianta
1.Scoti banca sa nu mai fie biz , si faci intrarea cu comanda la pickup
2.Schimbi toate pickupurile de la toate bizurile.
-
Poate nu ai vrun plugin (daca e sv linux pune .so la sfarsit) , poate nu ai toate fisierele din scriptfiles.
-
Scrie acolo parola :\
www.cruciatii.ro
Tot nai adaugat scriptfiles.
-
Daca vrei sal postezi pune si scriptfiles.
-
Sa mai discutat !
http://forum.sa-mp.com/showthread.php?t=175877
-
[pawn]
//OnPlayerConnect
WantedPoints[playerid] = 0;
WantedLevel[playerid] = 0;
[/pawn]
-
Fao pe mess nu pe sa-mp.ro
-
Titlu.
-
Cauta : http://www.sa-mp.ro/forum/index.php/topic,10232.0.html
-
deci pot sa fiu cu picioarele pe pamant,dau save si la z daca am de ex 100,pun 102?...101?
si mersi mult,nu stiam,o sa incerc si iti zic
Ceva de genu:
[pawn]SetPlayerPost(playerid,0.0,0.0,0.0+1);[/pawn]
-
1.Din pawn.
2.Apesi pe butonu save
3.Iti faci un sitem de save tunning.
4Lock (titlu)
-
Nu noi iti facem comenzile, tu tile faci si noi te ajutam daca ai probleme.
-
ma ice,am schimbat coordonatele de 3 ori,cum vrei sa fac? sa sar si sau /save?
Sa sari sa fi cu picioarele pe "pamant" si atunci sa dai save. Chear sa pui un +1 la Z.
-
Nu ceri tutorial tu , nu nici vorba :|
-
[pawn]
format(coordsstring, sizeof(coordsstring), "Ai %s"DecimalPoint(playerid));
SendClientMessage(playerid, 0x7979FFFF,coordsstring);
stock DecimalPoint(playerid)
{
new str[30];
new cash=GetPlayerMoney(playerid);
if(cash >= 0)
{
format(str, sizeof(str), "$%d", cash);
if(1000 <= cash < 10000) strins(str, ".", 2, sizeof(str));
else if(10000 <= cash < 100000) strins(str, ".", 3, sizeof(str));
else if(100000 <= cash < 1000000) strins(str, ".", 4, sizeof(str));
else if(1000000 <= cash < 10000000) { strins(str, ".", 2, sizeof(str)); strins(str, ".", 6, sizeof(str)); }
else if(10000000 <= cash < 100000000) { strins(str, ".", 3, sizeof(str)); strins(str, ".", 7, sizeof(str)); }
else if(100000000 <= cash < 1000000000) { strins(str, ".", 4, sizeof(str)); strins(str, ".", 8, sizeof(str)); }
else if(cash >= 1000000000) { strins(str, ".", 2, sizeof(str)); strins(str, ".", 6, sizeof(str)); strins(str, ".", 10, sizeof(str)); }
}
else
{
format(str, sizeof(str), "-$%d", cash-(cash*2));
if(-1000 >= cash > -10000) strins(str, ".", 3, sizeof(str));
else if(-10000 >= cash > -100000) strins(str, ".", 4, sizeof(str));
else if(-100000 >= cash > -1000000) strins(str, ".", 5, sizeof(str));
else if(-1000000 >= cash > -10000000) { strins(str, ".", 3, sizeof(str)); strins(str, ".", 7, sizeof(str)); }
else if(-10000000 >= cash > -100000000) { strins(str, ".", 4, sizeof(str)); strins(str, ".", 8, sizeof(str)); }
else if(-100000000 >= cash > -1000000000) { strins(str, ".", 5, sizeof(str)); strins(str, ".", 9, sizeof(str)); }
else if(cash <= -1000000000) { strins(str, ".", 3, sizeof(str)); strins(str, ".", 7, sizeof(str)); strins(str, ".", 11, sizeof(str));}
}
return str;
}
[/pawn]
-
cu placere:)) si cu property cfg cum ramane?
))
Fatil singur!
-
[pawn]if(PlayerDate[playerid][pAdmin] >= 1)
{
new messagetext[128];
format(messagetext, 128, "Admin{7FFF00}(ID:%d):{FFFFFF} %s", playerid, text);
SendPlayerMessageToAll(playerid, messagetext);
}
else if(PlayerDate[playerid][pVip] >= 1)
{
new messagetext[128];
format(messagetext, 128, "VIP{7FFF00}(ID:%d):{FFFFFF} %s", playerid, text);
SendPlayerMessageToAll(playerid, messagetext);
}
else
{
new messagetext[128];
format(messagetext, 128, "{7FFF00}(ID:%d):{FFFFFF} %s", playerid, text);
SendPlayerMessageToAll(playerid, messagetext);
}[/pawn]
Modifici tu variabile cum le ai tu in sistem.
-
Nu se cer fs/cmd/gm/map/functi !
-
eu ma gandeam sa fac de la sv sa aive toti asa transparent nu se poate
?
Nu.
Decat sa faci un nou Chat , cu TextDraw. Dar e complicat ...
[GF/RP] Bug /f
in Arhivă probleme
Posted
Stiu bugu asta... Nam gasit rezolvare pt el , decat sa fac comanda /f din nou pe zcmd.