asulkapa
Membru-
Posts
32 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Everything posted by asulkapa
-
Multumesc ! 5/5
-
Depinde si de cum ai vrea sa implantezi „ Skinu ” Poate fi folosita functia AttachObjectToPlayer [pawn]new myobject; myobject = CreateObject(19341, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); AttachObjectToPlayer(myobject, playerid, 1.5, 0.5, 0.0, 0.0, 1.5, 2);[/pawn]
-
Sunt multe posibilitati , poate fi bug la scriptul de register , depinde si de ce sistem folosesti , daca folosesti SQL , este ca-m greu daca nu intelegi functiile , Lasa-ne scriptul din gamemode si voi verifica eroarea.
-
Modul ppc trucking editat. 2/5
-
La cererea mea a fost facut acest script , multumesc ! reusit script ! bravo..
-
Invata functia [pawn]new objectid = CreateObject(...); new vehicleid = GetPlayerVehicleID(playerid); AttachObjectToVehicle(objectid, vehicleid, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0);[/pawn]
-
Pai stiu scriptul , si eu l-am avut dar nu-l mai am , era ceva gen la OnPlayerConnect adaugi SendClientMessage(i, 0xFFFFFFFF, "{FF0000}Playerul %s sa connectat) Getplayername etc.. si la OnPlayerDisconnect dar la crash nustiu.
-
Ti-am spus sa-l editezi , ca asta este altfel de script si probabil ca tu nu ai unele chesti , uitate atent in ala al tau si editeazal pasta. !
-
Exemplu de casa [pawn]1468.400024,-903.700012,54.799999,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,No-One,7 Room Luxury, 1000000,0,0,5,1,0,0,5000,0,20000,510,-1,-1,131,10[/pawn] [pawn]1468.400024 - Coordonata casei de afara ( X ) -903.700012 - Coordonata casei de afara ( Y ) 54.799999 - Coordonata casei de afara ( Z ) 231.399993 - Coordonata din interiorul casei ( X ) 1114.099975 - Coordonata din interiorul casei ( Y ) 1080.900024 - Coordonata din interiorul casei ( Z ) 0 - House Upgrade Viata ( X ) - De preferat nu e nevoie schimbarea 0 - House Upgrade Viata ( Y ) - De preferat nu e nevoie schimbarea 0 - House Upgrade Viata ( Z ) - De preferat nu e nevoie schimbarea 0 - House Upgrade Armura ( X ) - De preferat nu e nevoie schimbarea 0 - House Upgrade Armura ( Y ) - De preferat nu e nevoie schimbarea 0 - House Upgrade Armura ( Z ) - De preferat nu e nevoie schimbarea No-One - Numele proprietarului 7 Room Luxury - Descrierea Casei 1000000 - Valoarea casei 0 - House Upgrade ( Daca ai cumparat la bizz '/heal'(viata) la casa 0 - House Upgrade ( Daca ai cumparat la bizz '/heal'(armura) la casa 5 - Interiorul Casei 1 - Daca e inchisa sau e deschisa ( 0 - Nu, 1 - Da) 0 - Daca este cumparata sau nu ( 0 - Nu, 1 - Da) 0 - Cate camere are casa ( Va fi bun pentru descrierea casei ) 5000 - Taxa de chirie '/rent' 0 - Daca este de inchiriat sau nu ( 0 - Nu, 1 - Da) 20000 - Cati bani sa aiba in casa 510 - Id-ul masinii -1 - Culoarea masinii 1 -1 - Culoarea masinii 2 131 - Nu stiu ce este dar nu este deloc folosit 10 - Nivelul (Level) casei[/pawn] daca nu cauta un sistem de dinamic house create
-
Find incepator , cordonatele sunt de tip : [pawn]AddPlayerClass(42,809.6329,-587.0147,16.3359,179.2248,0,0,0,0,0,0); // EXEMPLU [/pawn] Pentru a face comanda cu teleportul functionala trebuie sa extragem X,Y,Z din cordonatele default cordonatele de tip x,y,z din exemplu de m-ai sus sunt [pawn]809.6329,-587.0147,16.3359[/pawn] Pentru ati da seama cum vinen cu cordonatele dute in gm , la pOrigin [spawn-ul] copie datele in cordonatele in notepad , apoi intra pe server , si dati respawn , fara sa te misti dai /save si compari cordonatele din save si cordonatele din gm , find aceleas cordonate , iti vei dea seama cum merge x,y,z .... Mult succes
-
Nu am inteles nimic , data viitoare scrie te rog correct gramatical.
-
Incearca asta : RRBALl [pawn]if(strcmp(cmdtext, "/roadunblockall", true)==0 || strcmp(cmdtext, "/rrball", true)==0) { if (PlayerInfo[playerid][pRank] >= 5 && PlayerInfo[playerid][pMember] || PlayerInfo[playerid][pLeader] == 1) { for(new i = 0; i < MAX_PLAYERS; i++) { if(PlayerInfo[pRoadblock] != 0) { RemoveRoadblock(i); } } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "HQ: All roadblocks in the area are to be disbanded immediately by order of %s.", sendername); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[pMember] == 1 || PlayerInfo[pLeader] == 1) { SendClientMessage(i, TEAM_BLUE_COLOR, string); } } } } else { SendClientMessage(playerid, COLOR_GREY, "You have to be rank 5+ or a police leader to remove all roadblocks!"); } return 1; }[/pawn] /rrb [pawn]if(strcmp(cmdtext, "/roadunblock", true)==0 || strcmp(cmdtext, "/rrb", true)==0) { if (PlayerInfo[playerid][pMember] != 1 && PlayerInfo[playerid][pLeader] != 1) { SendClientMessage(playerid, COLOR_GREY, "nu esti politist!"); return 1; } if (PlayerInfo[playerid][pRank] < 5) { SendClientMessage(playerid, COLOR_GREY, "You have to be rank 5 to use this command!"); return 1; } if (PlayerInfo[playerid][pRoadblock] == 0) { SendClientMessage(playerid, COLOR_GREY, "You haven't deployed a roadblock!"); return 1; } RemoveRoadblock(playerid); SendClientMessage(playerid, COLOR_GREEN, "Roadblock removed successfully."); return 1; }[/pawn] /rb [pawn]if(strcmp(cmdtext, "/roadblock", true)==0 || strcmp(cmdtext, "/rb", true)==0) { if (PlayerInfo[playerid][pMember] != 1 && PlayerInfo[playerid][pLeader] != 1) return SendClientMessage(playerid, COLOR_GREY, "nu esti politist!"); if (PlayerInfo[playerid][pRoadblock] != 0) return SendClientMessage(playerid, COLOR_GREY, "You can only deploy 1 roadblock at a time, type /rrb to remove your existing one."); if (roadblocktimer != 0) return SendClientMessage(playerid, COLOR_GREY, "Please wait before trying to spawn another roadblock!"); new Float:X, Float:Y, Float:Z, Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A); PlayerInfo[playerid][pRoadblock] = CreateObject(981, X, Y, Z, 0.0, 0.0, A+180); SetPlayerPos(playerid, X, Y, Z+4); GameTextForPlayer(playerid, "~w~Roadblock ~r~Placed", 5000, 5); SendClientMessage(playerid, COLOR_GREEN, "Roadblock deployed successfully, type /rrb or /roadunblock to remove it."); roadblocktimer = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "HQ: A roadblock has been deployed by %s, it has been marked on the map by a checkpoint.", sendername); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[pMember] == 1 || PlayerInfo[pLeader] == 1) { SetPlayerCheckpoint(playerid, X, Y, Z-10, 1.0); SendClientMessage(i, TEAM_BLUE_COLOR, string); if (PlayerInfo[pRank] >= 5 && PlayerInfo[pMember] || PlayerInfo[pLeader] == 1) { SendClientMessage(i, COLOR_YELLOW, "You can remove all roadblocks by typing /rrball"); } } } } SetTimer("ResetRoadblockTimer", 60000, false); return 1; }[/pawn]
-
Ai sscanf ? incarca un update la plugin
-
:))) 12 Ani este mult ? , Ori cred ca este vro copila daia retardata care se exita pe vorbele altora ONAIR ) (pe internet) pe lumea asta , exista or ce fel de oameni .. Sa nu va speriati cand dati de dastea.
-
Pai Daca au resseler , pentur ca resellerul provine dintrun datacenter care nu este al lui , si o incurca ce-i care l-au vandut lui , dar daca are propriu dedicat , iti spun eu ca pentru frauda se ia mult )
-
Nu Prea seamana cu o casa din copac din realitate , dar totusi 5/5 frumoasa mapa :D
-
Le voi testa si eu Felicitari.
-
4/5 este cam simplu dar efortul conteaza
-
Uitate atent la coordonate poate ai gresit ceva.
-
Incarca asta [pawn]// This file holds all functions for the toll-system forward Toll(); public Toll() { // Loop through all players for(new playerid; playerid < MAX_PLAYERS; playerid++) { // If the player isn't connected, skip to the next player if(APlayerData[playerid][LoggedIn] == false) continue; // Check if the player is the driver of a vehicle if (GetPlayerVehicleSeat(playerid) == 0) { // Loop through all toll-gates for (new TollGate; TollGate < MAX_TOLLGATES; TollGate++) { // Check if this toll-gate exists if (ATollGates[TollGate][GateID] != 0) { // Check if the player is in range of the tollgate if(IsPlayerInRangeOfPoint(playerid, 7.5, ATollGates[TollGate][CloseX], ATollGates[TollGate][CloseY], ATollGates[TollGate][CloseZ])) { // Check if the toll-gate is closed if(ATollGates[TollGate][GateStatus] == 0) { // Open the gate MoveObject(ATollGates[TollGate][GateID], ATollGates[TollGate][OpenX], ATollGates[TollGate][OpenY], ATollGates[TollGate][OpenZ], 3.0); // Set status to OPEN ATollGates[TollGate][GateStatus] = 1; // Let the player pay the toll RewardPlayer(playerid, -ATollGates[TollGate][TollPrice], 0); new string[50]; format(string, sizeof(string), TXT_PlayerPaysToll, ATollGates[TollGate][TollPrice]); GameTextForPlayer(playerid, string, 3000, 4); // Start a timer that closes the gate after 5 seconds SetTimerEx("CloseGate", 5000, false, "i", TollGate); } } } } } } } forward CloseGate(TollGate); public CloseGate(TollGate) { // Close the gate MoveObject(ATollGates[TollGate][GateID], ATollGates[TollGate][CloseX], ATollGates[TollGate][CloseY], ATollGates[TollGate][CloseZ], 3.0); // Set status to CLOSED ATollGates[TollGate][GateStatus] = 0; } [/pawn]
-
Fara script nu ne putem da seama .. Edit: Nu prea le am cu modul trucking dar incarca asta : [pawn]// This file holds all functions for the toll-system forward Toll(); public Toll() { // Loop through all players for(new playerid; playerid < MAX_PLAYERS; playerid++) { // If the player isn't connected, skip to the next player if(APlayerData[playerid][LoggedIn] == false) continue; // Check if the player is the driver of a vehicle if (GetPlayerVehicleSeat(playerid) == 0) { // Loop through all toll-gates for (new TollGate; TollGate < MAX_TOLLGATES; TollGate++) { // Check if this toll-gate exists if (ATollGates[TollGate][GateID] != 0) { // Check if the player is in range of the tollgate if(IsPlayerInRangeOfPoint(playerid, 7.5, ATollGates[TollGate][CloseX], ATollGates[TollGate][CloseY], ATollGates[TollGate][CloseZ])) { // Check if the toll-gate is closed if(ATollGates[TollGate][GateStatus] == 0) { // Open the gate MoveObject(ATollGates[TollGate][GateID], ATollGates[TollGate][OpenX], ATollGates[TollGate][OpenY], ATollGates[TollGate][OpenZ], 3.0); // Set status to OPEN ATollGates[TollGate][GateStatus] = 1; // Let the player pay the toll RewardPlayer(playerid, -ATollGates[TollGate][TollPrice], 0); new string[50]; format(string, sizeof(string), TXT_PlayerPaysToll, ATollGates[TollGate][TollPrice]); GameTextForPlayer(playerid, string, 3000, 4); // Start a timer that closes the gate after 5 seconds SetTimerEx("CloseGate", 5000, false, "i", TollGate); } } } } } } } forward CloseGate(TollGate); public CloseGate(TollGate) { // Close the gate MoveObject(ATollGates[TollGate][GateID], ATollGates[TollGate][CloseX], ATollGates[TollGate][CloseY], ATollGates[TollGate][CloseZ], 3.0); // Set status to CLOSED ATollGates[TollGate][GateStatus] = 0; } [/pawn]
-
Mda.. sunt multe " Firme Fantoma " care intradevar detin dedicate sau toate porcariile necesare gazduiri de jocuri , dar na romanul se gandeste intai " m-ai bine pastrez ip si iau bani la fraier ? " asa pastrez ip-ul si ma fac si cu bani , dar romanul prost nu se gandeste ca va da de cineva cu cap si il va reporta la politia internetului si avand in vedere ca este o "firma fantoma" neinregistrata in Registrul comertului se va chinui mult.. SUCCES TUTUROR CU "TZEPELE" aveti grija:)
-
O idee buna ar fi , sa creezi o comanda , un sistem de salari care se va da La LEVEL nu la rank , salariu asta se va da si la factiuni si la civili , cu ocazia asta se va popula servarul m-ai usor avand in vedere stai si primesti.. dar daca faci , pune si tu 1 odata pe saptamana , sa nu se obisnuiasca cu ideia ca daca stai primesti voi face eu o comanda dasta , maine cred ca fac.
-
Un sistem Steal = a fura Daca vrei iti pot da eu comanda , dami pm Descriere : /Steal Player/id Steal [ Guns, Cellphone] Poti fura telefonul unui playeri/armele ! iar victima va primi un SendClientMessage : Playerul %s Tocmai ti-a furat telefonul din buzunar , lafel si la weapons [ arme ]