Jump to content

TwEnZyAdv

Member
  • Posts

    511
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by TwEnZyAdv

  1. TogglePlayerSpectating(playerid, true);
  2. { "cmd": ["pawncc.exe", "-i includes", "$file", "-;+"], "path": "D://Gamemode//pawno" } Pune asa acum osa functioneze. Si eu am avut aceasta problema.
  3. Aceste errori sunt reparate dar am uiat sa pun pe host.
  4. Username: TwEnZy.VALOARE Varsta: 16 Ce vinzi?: Panel SA-MP gen og times compatibil cu burned Dovada (că eÈ™ti în posesia produsului): http://prntscr.com/ks4sw1 Pret: 15 euro paysafecard - negociabil - ofer suport 3 zile de la cumparare Detalii de contact: PM pe forum sau Discord TwEnZy.KIA#9618 Alte precizări: Pentru a vedea panelu link Gaming-Zone.xyz/panel/ Pentru mai multe detalii aveti discordul mai sus.
  5. YCMD:closestcar(playerid, params[], help) { if(!PlayerInfo[playerid][pAdmin]) return SCM(playerid, -1, AdminOnly); new vehicle = GetClosestVehicle2(playerid); gString[0] = (EOS); if(vehicle == INVALID_VEHICLE_ID) return SCM(playerid, COLOR_GREY, "Nu e nici un vehicul in apropierea ta."); PutPlayerInVehicleEx(playerid, vehicle, 0); return 1; } stock GetClosestVehicle2(playerid) { new Float: Distance; if(!Distance) Distance = 200.0; new Float:X[2], Float:Y[2], Float:Z[2], Float:NearestPos = floatabs(Distance), NearestVehicle = INVALID_VEHICLE_ID; GetPlayerPos(playerid, X[0], Y[0], Z[0]); for(new i; i < MAX_VEHICLES; i++) { if(!IsVehicleStreamedIn(i, playerid) || IsPlayerInVehicle(playerid, i)) continue; GetVehiclePos(i, X[1], Y[1], Z[1]); if(NearestPos > GetDistanceBetweenPoints(X[0], Y[0], Z[0], X[1], Y[1], Z[1])) NearestPos = GetDistanceBetweenPoints(X[0], Y[0], Z[0], X[1], Y[1], Z[1]), NearestVehicle = i; } return NearestVehicle; }
  6. if(limitabanuri[playerid] > 0)) { limitabanuri[playerid]--; if(banuriinminut[playerid] >= 2) { if(PlayerInfo[playerid][pAdmin] == 6) return 1; limitabanuri[playerid] = -1; PlayerInfo[playerid][pAdmin] = 0; banuriinminut[playerid] = 0; SCM(playerid, COLOR_SERVER, "Ai primit remove"); } }
  7. Din cate stiu nu se poate sa faci asta
  8. Pune asta la inceputul gm-ului. new Text: Logo; new Text: PinTD
  9. Username : TwEnZy_VALOARE Varsta : 16 Ce cumperi? : Cumpar gamemode Cat oferi pe produs : Ofer Paysafecard Detalii de contact: TwEnZy.KIA#9618 Alte precizari: nu am
×
×
  • Create New...