Jump to content

d@rK

Membru
  • Posts

    79
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

d@rK's Achievements

Enthusiast

Enthusiast (6/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. *** PREZENTARE SERVER RPG.FREAKZ.RO *** > Aici o sa va prezint noul server de SA:MP al comunitatii Freakz: RpG.Freakz.Ro: -> Acesta este un server nou, deschis acum cateva zile. Server-ul este Mod RPG! -> Pe acest server nu te vei plictisi niciodata, sunt o multime de lucruri pe care le poti face! Vei vedea mai jos in descriere! -> In fiecare zi vor fi organizate event-uri de catre Staff, cu premii pe masura! -> Fondatori: OneShot, vLad. -> GM: Unic. -> Va asteptam in numar cat mai mare !!! Cautam Helperi/Admini care sa ne ajute cu popularea server-ului! -> FORUM: www.freakz.ro/forum sau www.rpg.freakz.ro Informatii despre Server: -> Pentru inceput, veti primiti o masina personala gratuita din partea Staff-ului! Folositi comanda /masina. -> Un mic clip despe Server: https://youtu.be/-nL7emDkUTM Banca Freakz, locul unde poti depozita/scoate/transfera bani: Misiunea, aici poti face o misiune folosind comanda /mission. Misiunile pot fi Easy/Normal/Hard/Expert. Veti primi bani si wanted in functie de dificultatea misiunii: De aici poti cumpara arme ilegale folosind comanda /armeilegale: Aici este Bussines-Mall. Aici se afla majoritatea bizz-urilor de pe server: Locul de pescuit, pescuiesti folosind comanda /fish, nu este job sau altceva, doar un loc unde sa te relaxezi dupa o zi de munca: Locul special pt. Recrutari, aici liderul unei factiuni poate da testele cu jucatorii ce vor sa intre in factiunea respectiva. Comanda: /incepeteste: De aici poti sa iti cumperi o arma personala. Doar una! Comanda: /armapersonala: Aici este Biserica Freakz, in caz ca iti gasesti o femeie, aici faci nunta! Comanda: /casatorie: Smoke & Drink Bar. In caz ca te superi pe femeie, vii aici si te imbeti beton. Gasesti aici de la Bere la Vodka si chiar si Marijuanna: Magazinul de Haine [Binco]: Daca iti sunt murdare hainele, si nu ai femeie sa ti le spele, Vi aici si cumperi altele! Pentru un joc mai bun, vei avea nevoie de Licente! Le poti cumpara de aici folosind comanda /cumparalicente: Primaria Freakz, locul unde iti poti alege un Job: Dealership Unic! De aici iti poti cumpara 3 Masini Personale! (4 daca esti VIP!) Staff Island, insula Staff-ului, insula in care doar Staff-ul poate ajunge, loc in care se pot tine Sedintele cu Administratorii server-ului: Cartierul Freakz, loc pt. oameni bogati, amenajat frumos, cu case noi dar si foarte scumpe: Random Event, un loc in care poti intra odata la 20 minute, concursul consta in alegerea dintre 3 cadouri folosind comanda /next, daca ai nimerit cadoul corect treci mai departe, sunt aproximativ 5 runde, daca ai trecut de toate rundele si ai ales mereu cadoul corect, vei castiga $2.000.000! De asemenea vei primi o suma de bani de consolare pt. fiecare cadou ales corect: Factiunile Freakz RPG: Politia Romana: Armata Romana: Hitman Agency: Stirile Freakz: Speed Taxi: Grove Street: Ballas: Los Santos Vagos: Varrios Los Aztecas: La Cosa Nostra: Yakuza: The Triads: Sinalos Cartel: *** Conturile VIP *** > VIP-ul poate fi de 3 feluri: Bronz, Silver, Gold! > Preturile pentru conturile VIP le gasiti pe Forum sau pe Server folosind comanda /preturi si /infodonatori! > Avantajele contului VIP sunt urmatoarele: - Bronz: + 1 RP si $10.000 | Silver: + 2 RP si $20.000 | Gold: + 3 RP si $30.000 - la fiecare PayDay! - Daca ai cont Gold poti detine 4 Masini personale si ai NOS nelimitat in orice Vehicul apasand Click! - Daca esti VIP ai acces la urmatoarele comenzi: [Bronz]: /p (chat premium) * /bandana * /scoatebandana [Bronz]: /hidenumber * /togad * /togooc * /tognews * /togfaction * /togw * /togphone [Silver]: /pskin (orice skin) * /parme (arme gratis) * /fv (reparare Vehicul) * /weatherme * /ochelari [Gold]: /papagal (iti da $20.000 + 100 HP si 50 Armura odata la 10 minute) [Gold]: /vmodel (schimba modelul Masinii tale personale, cost: $100.000) [Gold]: /neon (pune neon pe Vehicul, cost: $5.000) [Gold]: /ghostrider (te transformi in Ghost Rider - iei foc) [Gold]: /laseron /laseroff /lasercolor (laser la arme) *** Va multumesc si va astept pe Server! Nu veti regreta! Intra cine vrea, iese cine poate... :> ***
  2. Am un script care pune arme pe spate. Dar mi se pun foarte greu, de exemplu dupa ce intru pe server stau vro 3 secunde ca sa mi le puna. Sau cand pun ak47 sa zicem, in mana, sta vro 3 secunde pana o scoate din spate... Are legatura cu TickCount sau... ?? Pawno Armedbody: [pawn]#include <a_samp> #define ARMEDBODY_USE_HEAVY_WEAPON (false) static armedbody_pTick[MAX_PLAYERS]; public OnFilterScriptInit(){ printf("====================================================================="); printf("This is a part of a OpenGTA subject, visit opengta.org for more info."); printf("FilterScript Name: Armed body"); printf("Description:Attatch weapond to player's body"); printf("Author:yezizhu"); printf("Special thanks:Double-O-Seven, Brian."); printf("Contact author: [email protected]"); printf("====================================================================="); return true; } • public OnFilterScriptExit(){ • return true; • } • public OnPlayerUpdate(playerid){ • if(GetTickCount() - armedbody_pTick[playerid] > 113){ //prefix check itter • new • weaponid[13],weaponammo[13],pArmedWeapon; • pArmedWeapon = GetPlayerWeapon(playerid); • GetPlayerWeaponData(playerid,1,weaponid[1],weaponammo[1]); • GetPlayerWeaponData(playerid,2,weaponid[2],weaponammo[2]); • GetPlayerWeaponData(playerid,4,weaponid[4],weaponammo[4]); • GetPlayerWeaponData(playerid,5,weaponid[5],weaponammo[5]); • #if ARMEDBODY_USE_HEAVY_WEAPON • GetPlayerWeaponData(playerid,7,weaponid[7],weaponammo[7]); • #endif • if(weaponid[1] && weaponammo[1] > 0){ • if(pArmedWeapon != weaponid[1]){ • if(!IsPlayerAttachedObjectSlotUsed(playerid,0)){ • SetPlayerAttachedObject(playerid,0,GetWeaponModel(weaponid[1]),1, 0.199999, -0.139999, 0.030000, 0.500007, -115.000000, 0.000000, 1.000000, 1.000000, 1.000000); • } • } • else { • if(IsPlayerAttachedObjectSlotUsed(playerid,0)){ • RemovePlayerAttachedObject(playerid,0); • } • } • } • else if(IsPlayerAttachedObjectSlotUsed(playerid,0)){ • RemovePlayerAttachedObject(playerid,0); • } • if(weaponid[2] && weaponammo[2] > 0){ • if(pArmedWeapon != weaponid[2]){ • if(!IsPlayerAttachedObjectSlotUsed(playerid,1)){ • SetPlayerAttachedObject(playerid,1,GetWeaponModel(weaponid[2]),8, -0.079999, -0.039999, 0.109999, -90.100006, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000); • } • } • else { • if(IsPlayerAttachedObjectSlotUsed(playerid,1)){ • RemovePlayerAttachedObject(playerid,1); • } • } • } • else if(IsPlayerAttachedObjectSlotUsed(playerid,1)){ • RemovePlayerAttachedObject(playerid,1); • } • if(weaponid[4] && weaponammo[4] > 0){ • if(pArmedWeapon != weaponid[4]){ • if(!IsPlayerAttachedObjectSlotUsed(playerid,2)){ • SetPlayerAttachedObject(playerid,2,GetWeaponModel(weaponid[4]),7, 0.000000, -0.100000, -0.080000, -95.000000, -10.000000, 0.000000, 1.000000, 1.000000, 1.000000); • } • } • else { • if(IsPlayerAttachedObjectSlotUsed(playerid,2)){ • RemovePlayerAttachedObject(playerid,2); • } • } • } • else if(IsPlayerAttachedObjectSlotUsed(playerid,2)){ • RemovePlayerAttachedObject(playerid,2); • } • if(weaponid[5] && weaponammo[5] > 0){ • if(pArmedWeapon != weaponid[5]){ • if(!IsPlayerAttachedObjectSlotUsed(playerid,3)){ • SetPlayerAttachedObject(playerid,3,GetWeaponModel(weaponid[5]),1, 0.200000, -0.119999, -0.059999, 0.000000, 206.000000, 0.000000, 1.000000, 1.000000, 1.000000); • } • } • else { • if(IsPlayerAttachedObjectSlotUsed(playerid,3)){ • RemovePlayerAttachedObject(playerid,3); • } • } • } • else if(IsPlayerAttachedObjectSlotUsed(playerid,3)){ • RemovePlayerAttachedObject(playerid,3); • } • #if ARMEDBODY_USE_HEAVY_WEAPON • if(weaponid[7] && weaponammo[7] > 0){ • if(pArmedWeapon != weaponid[7]){ • if(!IsPlayerAttachedObjectSlotUsed(playerid,4)){ • SetPlayerAttachedObject(playerid,4,GetWeaponModel(weaponid[7]),1,-0.100000, 0.000000, -0.100000, 84.399932, 112.000000, 10.000000, 1.099999, 1.000000, 1.000000); • } • } • else { • if(IsPlayerAttachedObjectSlotUsed(playerid,4)){ • RemovePlayerAttachedObject(playerid,4); • } • } • } • else if(IsPlayerAttachedObjectSlotUsed(playerid,4)){ • RemovePlayerAttachedObject(playerid,4); • } • #endif • armedbody_pTick[playerid] = GetTickCount(); • } • return true; • } • //by Double-O-Seven • stock GetWeaponModel(weaponid) • { • switch(weaponid) • { • case 1: • return 331; • case 2..8: • return weaponid+331; • case 9: • return 341; • case 10..15: • return weaponid+311; • case 16..18: • return weaponid+326; • case 22..29: • return weaponid+324; • • case 30,31: • return weaponid+325; • case 32: • return 372; • case 33..45: • return weaponid+324; • case 46: • return 371; • } • return 0; • }[/pawn]
  3. 1. Numarul nu apare pe tablita, eu altceva am cerut :| 2. Nu inteleg scriptu ala Alexica... Si am cu CarInfo[carid][cLicense] , nu cu setnumbetplate.. Nu e bine , va rog ajutor. Vrea sa poti sa bagi numarul [2numere]-[3litere] , ex: 22-CAR ......
  4. Nu reusesc nu inteleg, te rog frumos ajuta-ma sa-l fac. Te ROG, nu inteleg, nu reusesc. (
  5. Am comanda /v "setplate" care schimba numarul de inmatriculare al masinii. Problema este ca poti sa pui si numarul **&&Andrei^^45* ........... Eu as vrea sa merga doar dupa acest MODEL : [2numere]-[3cifre] Exemplu: /v setplate 24-CAP Va rog daca m-ati putea ajuta nu gasesc nicaieri cum sa fac... Multumesc. Pawno: [pawn] else if(strcmp(x_nr,"setplate",true) == 0) { if(IsPlayerInVehicle(playerid, vehid) || PlayerInfo[vehid][pPcarkey] != -1 && PlayerInfo[vehid][pPcarkey2] != -1 && PlayerInfo[vehid][pPcarkey3] != -1) { if(cmdtext[idx++] != 32 || cmdtext[idx] == EOS) { SendClientMessage(playerid,0xFFFFFFAA,"FOLOSESTE: /v setplate [numar]"); return 1; } if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) { SendClientMessage(playerid, COLOR_RED, "Nu poti schimba numarul fiind pasager !"); return 1; } if((vehid >= 1) && (vehid <= 281) && !Ested@rK(playerid)) { SendClientMessage(playerid, COLOR_RED, "Nu poti schimba numarul masinii acesteia !"); return 1; } new Float:XX,Float:YY,Float:ZZ,Float:AA; new Float:CarHP, Float:OldCarHP; new panels,doors2,lights2,tires; GetVehicleHealth(vehid, CarHP); GetVehicleDamageStatus(vehid,panels,doors2,lights2,tires); OldCarHP = CarHP; format(CarInfo[vehid][cLicense], 32 ,"%s",cmdtext[idx]); SetVehicleNumberPlate(vehid,CarInfo[vehid][cLicense]); GetVehiclePos(vehid,XX,YY,ZZ); GetVehicleZAngle(vehid, AA); SetVehicleToRespawn(vehid); SetVehiclePos(vehid,XX,YY,ZZ); SetVehicleZAngle(vehid, AA); PutPlayerInVehicle(playerid,vehid,0); SetVehicleHealth(vehid, OldCarHP); UpdateVehicleDamageStatus(vehid,panels,doors2,lights2,tires); format(string, sizeof(string), "Ti-ai schimbat Nr. de Inmatriculare la vehicul: {FFFFFF}%s", CarInfo[vehid][cLicense]); SendClientMessage(playerid, COLOR_YELLOW, string); OnPropUpdate(); SavePlayerData(playerid); } else { SendClientMessage(playerid, 0xFFFFFFAA, "Nu esti in masina ta personala pentru a putea schimba Nr. de Inmatriculare."); return 1; } }[/pawn]
  6. Man, l-am bagat dar am o problema... Imi pune id-ul masinilor personale de la 1 .... Si se strica... Gen masina id = PD car, si dupa ce bag asta, prima masina personala din masini.cfg este aia PD car. .... :| Te rog ajuta-ma... Imi poti lasa ID prin pm? Am facut 450 de masini cu /acreatecar si s-au bagat de la id 1 ))) te rog ajuta-ma dami id prin pm sau nush... EDIT: Am reusit, FOARTE BUN, Dar pentru a evita BUGURILE este mai bine sa integram FS-ul in GM !! 5/5 !
  7. Liniile care au symbol already defined, sterge-le!
  8. Iti raspund eu la intrebare pentru ca am aceeasi problema: Deci, se salveaza skinul chiar daca dai /skin /changeskin /setskin etc. Dar "uneori" cand iesi de pe server si intrii la loc iti da skinul acesta: http://wiki.sa-mp.com/wiki/Image:Skin_7.png [sKIN ID 7] Iar la public OnPlayerSpawn exista asta: [pawn]SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]);[/pawn]
  9. d@rK

    Problema Clear

    Pai, eu as dorii sa fie la /stats in caz ca un COP ataca un player aiurea sa verific daca chiar are wanted sau nu... Ai putea sa ma ajuti? Nu stiu sa fac legatura intre stats si clear ... Te rog :o3
  10. d@rK

    Problema skin

    am doar setplayerskin la OnPlayerSpawn [pawn]SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]);[/pawn] Si ce ii fac??
  11. Cand dau /clear unui player , merge, ii sterge wantedul acelui player, DAR la /stats ramane tot wanted 10/10 .... :| [pawn]if(strcmp(cmd, "/clear", true) == 0) { if(IsPlayerConnected(playerid)) { new member = PlayerInfo[playerid][pMember]; new leader = PlayerInfo[playerid][pLeader]; new rank = PlayerInfo[playerid][pRank]; if(gTeam[playerid] == 2) { if (!PlayerToPoint(3.0, playerid, 253.9280,69.6094,1003.6406)) { SendClientMessage(playerid, COLOR_GRAD2, "You are to not inside the Police Station!"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /clear [playerid/PartOfName]"); return 1; } giveplayerid = ReturnUser(tmp); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "You cannot Clear yourself!"); return 1; } GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* You cleared the Records and Wanted Points of %s.", giveplayer); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), "* Officer %s has cleared your Records and Wanted Points.", sendername); SendClientMessage(giveplayerid, COLOR_WHITE, string); WantedPoints[giveplayerid] = 0; WantedLevel[giveplayerid] = 0; ClearCrime(giveplayerid); if(gTeam[giveplayerid]==4) { gTeam[giveplayerid] = 3; SetPlayerToTeamColor(giveplayerid); } } } else { SendClientMessage(playerid, COLOR_GREY, "Invalid ID/Name!"); } } else if(member == 6||leader == 6) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /clear [playerid/PartOfName]"); return 1; } giveplayerid = ReturnUser(tmp); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "You cannot Clear yourself!"); return 1; } if(rank < 4) { SendClientMessage(playerid, COLOR_GREY, "You need Rank 4 to clear someone's Wanted Points + Records !"); return 1; } if(GetPlayerCash(playerid) < 5000) { SendClientMessage(playerid, COLOR_GREY, "You need $5000 to Clear your Family Member !"); return 1; } GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); if(member > 0) { if(PlayerInfo[giveplayerid][pMember] != member) { SendClientMessage(playerid, COLOR_GREY, "That player is not in your Family !"); return 1; } format(string, sizeof(string), "* You cleared the Records and Wanted Points of %s for $5000.", giveplayer); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), "* Family Member %s with Rank %d, has cleared your Records and Wanted Points.", sendername, rank); SendClientMessage(giveplayerid, COLOR_WHITE, string); } else if(leader > 0) { if(PlayerInfo[giveplayerid][pMember] != leader) { SendClientMessage(playerid, COLOR_GREY, "That player is not in your Family !"); return 1; } format(string, sizeof(string), "* You cleared the Records and Wanted Points of %s for $5000.", giveplayer); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), "* Family Leader %s, has cleared your Records and Wanted Points.", sendername); SendClientMessage(giveplayerid, COLOR_WHITE, string); } WantedPoints[giveplayerid] = 0; WantedLevel[giveplayerid] = 0; ClearCrime(giveplayerid); GivePlayerCash(playerid, - 5000); } } else { SendClientMessage(playerid, COLOR_GREY, "Invalid ID/Name!"); } } else { SendClientMessage(playerid, COLOR_GREY, "You are not an Cop / SRI / Armata Romana / Family Member !"); } } return 1; }[/pawn]
  12. d@rK

    Problema skin

    Lasa "doamne-le" ca eu am intrebat cum sa fac sa numai imi seteze skinu, nu care e motivu pt care imi seteaza skinu ala :| numai asa pt. +1 post ...
×
×
  • 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.