doryn3l
Membru-
Posts
31 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Everything posted by doryn3l
-
Al 3-lea nici nu e facut de tine, doar l-ai editat http://forum.sa-mp.com/showthread.php?t=72649 La fel si la primul: http://forum.sa-mp.com/showthread.php?t=124251
-
E asa greu sa dai un search pe <a href="http://lmgtfy.com/?q=FS+GarStore+v1.0">google</a>?
-
http://pastebin.com/3iEp9ttn
-
Foloseste asta http://forum.sa-mp.com/showthread.php?t=109669&highlight=save+tune si CMD-ul asta: [pawn]if(strcmp(cmd, "/park", true) == 0) // Seba97 { { if(gPlayerLogged[playerid] == 1) { if(IsPlayerConnected(playerid)) { new Float:x,Float:y,Float:z; new Float:a; new carid; new getcarid; if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey]) { carid = PlayerInfo[playerid][pPcarkey]; } else { return 1; } getcarid = GetPlayerVehicleID(playerid); GetPlayerName(playerid, playername, sizeof(playername)); GetVehiclePos(carid, x, y, z); //GetPlayerFacingAngle(playerid, a); GetVehicleZAngle(carid, a); if(IsPlayerInVehicle(playerid,carid) && CarInfo[carid][cOwned] == 1) { if(PlayerInfo[playerid][pPcarkey] == 999) { SendClientMessage(playerid, COLOR_GREY, "You don't own a car."); return 1; } if(getcarid == carid) { CarInfo[carid][cLocationx] = x; CarInfo[carid][cLocationy] = y; CarInfo[carid][cLocationz] = z; CarInfo[carid][cAngle] = a; format(string, sizeof(string), "~n~ Car Parked ~n~"); GameTextForPlayer(playerid, "You have parked your vehicle in this position. It will respawn here.", 10000, 3); OnPropUpdate(); OnPlayerUpdateEx(playerid); DestroyVehicle(carid); CreateVehicle(CarInfo[carid][cModel],CarInfo[carid][cLocationx],CarInfo[carid][cLocationy],CarInfo[carid][cLocationz]+1.0,CarInfo[carid][cAngle],CarInfo[carid][cColorOne],CarInfo[carid][cColorTwo],60000); TogglePlayerControllable(playerid, 1); SetVehicleToRespawn(carid); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "You are not driving your car"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "You need to login to use this command"); return 1; } } } return 1; }[/pawn]
-
Cum pot salva coordonate pentru SetPlayerCameraLookAt?
doryn3l replied to calin1996's question in Arhivă probleme
da, cu /save -
O comanda care sa dea la fiecare membru dintro factiun ceva
doryn3l replied to mafia_wars's question in Arhivă probleme
Posteaza partea in care ii da doar celui care cucereste. -
Esti penibil, macar daca dowloandai FS-u si vedeai ce scrie in el la credits, dar ce sa iti cer la 13-14 ani pe care ii ai..
-
[pawn]forward pdclose()[/pawn] [pawn]new pdgate;[/pawn] [pawn] else if(PlayerToPoint(5.0,i, coord de unde sa se deschida gate)) { if(PlayerInfo[pMember] == 1 || PlayerInfo[pLeader] == 1) { MoveObject(pdgate, coord obiect unde sa se miste ,5.0); SetTimerEx("pdclose",5000,false,"d",i); } }[/pawn] [pawn]pdgate = CreateObject( obiectul facut in mta );[/pawn] [pawn]public pdclose() { MoveObject(pdgate,coord ob pentru a reveni la loc,5.0); }[/pawn] Uite si un gate pentru garajul LSPD. Pentru FBI si NG faci la fel. [pawn]forward pdclose();[/pawn] [pawn]new pdgate;[/pawn] [pawn] else if(PlayerToPoint(5.0,i,1586.906128, -1638.418213, 15.071732)) { if(PlayerInfo[pMember] == 1 || PlayerInfo[pLeader] == 1) { MoveObject(pdgate,1586.906128, -1638.418213, 6.071732,5.0); SetTimerEx("pdclose",5000,false,"d",i); } }[/pawn] [pawn]pdgate = CreateObject(980, 1586.906128, -1638.418213, 15.071732, 0.0000, 0.0000, 0.0000);[/pawn] [pawn]public pdclose() { MoveObject(pdgate,1586.906128, -1638.418213, 15.071732,5.0); }[/pawn]
-
O comanda care sa dea la fiecare membru dintro factiun ceva
doryn3l replied to mafia_wars's question in Arhivă probleme
[pawn]for(new i=0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[pMember] == 2||PlayerInfo[pLeader] == 2) {//2 = id factiune[/pawn] mai departe sper ca stii .. -
Foloseste asta http://forum.sa-mp.com/showthread.php?t=109669&highlight=save+tune , iar la v park dupa TogglePlayerControllable(playerid, 1); pune SetVehicleToRespawn(carid);
-
Acolo vin skinurile la care nu se potrivesc frizurile. Ai 'dreptate'. 5 frizuri sunt in sa-mp desteptu lu' peste. http://wiki.sa-mp.com/wiki/Samp_objects
-
Nu-mi merge..
-
E folositor pe un server RP.
-
Acest FS contine 5 frizuri care le vi le puteti procura de la o frizerie contra cost. Tastand comanda /frizura va aparea un dialog cu 5 frizuri. Fiecare frizura are un pret random. <a href="http://www.solidfiles.com/d/5b05f2a2db/">Frizura.pwn</a> <a href="http://www.solidfiles.com/d/6871b84338/">Frizura.amx</a> Este primul FS create de mine
-
[pawn](playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0)[/pawn]
-
Nu imi place cum arata :shocked:
-
Cum pot schimba acel peisaj cu plaja, de la login ?
-
Pune asta: [pawn] for (new i = 0; i <= MAX_VEHICLES; i++) { SetVehicleNumberPlate(i,"KOS"); }[/pawn]
-
Radio-urile romanesti folosesc: Content Type: audio/aacp In timp ce cele straine folosesc: Content Type: audio/mpeg de accea nu merg..
-
Radio-urile romanesti folosesc: Content Type: audio/aacp In timp ce cele straine folosesc: Content Type: audio/mpeg de accea nu merg..
-
Se pare ca era de la acele textdraw-uri (dungile negre) Rezolvat, putetit da TC
-
Cand vreau sa intru pe server imi zice de cateva ori The server is restarting si peste vreo 30 de secunde ma lasa sa ma loghez. O fi de la host sau de la server?
-
Rezolvat, multumesc mult.
-
if(strcmp(cmd, "/shout", true) == 0 || strcmp(cmd, "/s", true) == 0) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, " You havent logged in yet !"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; result[0] = toupper(result[0]); if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/s)hout [local chat]"); return 1; } if(Disguise[playerid] == 0) { format(string, sizeof(string), "%s Shouts: %s!!", sendername, result); ProxDetector(30.0, playerid, string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_FADE1,COLOR_FADE2); printf("%s", string); } else if(Disguise[playerid] == 1) { format(string, sizeof(string), "Unknown Shouts: %s!!", result); ProxDetector(30.0, playerid, string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_FADE1,COLOR_FADE2); printf("%s", string); } if(DisguiseA[playerid] == 0) { format(string, sizeof(string), "%s Shouts: %s!!", sendername, result); ProxDetector(30.0, playerid, string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_FADE1,COLOR_FADE2); printf("%s", string); } else if(DisguiseA[playerid] == 1) { format(string, sizeof(string), "Unknown Shouts: %s!!", result); ProxDetector(30.0, playerid, string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_FADE1,COLOR_FADE2); printf("%s", string); } } return 1; } if(strcmp(cmd, "/me", true) == 0) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, " You havent logged in yet !"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /me [action]"); return 1; } if(PlayerInfo[playerid][pMaskuse] == 1) { format(string, sizeof(string), "* Strainul %s", result); } else { format(string, sizeof(string), "* %s %s", sendername, result); } ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); printf("%s", string); } return 1; } if(strcmp(cmd, "/do", true) == 0) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, " You havent logged in yet !"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /do [action]"); return 1; } if(Disguise[playerid] == 0) { format(string, sizeof(string), "* %s ((%s))", result, sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); printf("%s", string); } else if(Disguise[playerid] == 1) { format(string, sizeof(string), "* %s((Unknown))", result); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); printf("%s", string); } if(DisguiseA[playerid] == 0) { format(string, sizeof(string), "* %s ((%s))", result, sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); printf("%s", string); } else if(DisguiseA[playerid] == 1) { format(string, sizeof(string), "* %s((Unknown))", result); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); printf("%s", string); } } return 1; } if (realchat) { if(gPlayerLogged[playerid] == 0) { return 0; } if(Disguise[playerid] == 1) { format(string, sizeof(string), "Unknown Says: %s",text); ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5); return 0; } if(DisguiseA[playerid] == 1) { format(string, sizeof(string), "Unknown Says: %s",text); ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5); return 0; } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "%s Says: %s", sendername, text); ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5); return 0; } return 1; }