Jump to content

xxSPEEDYxx

Membru
  • Posts

    1.614
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by xxSPEEDYxx

  1. PROBLEME GODFATHER!!!!! + dc ai postat la Ajutor Servere? aici se da ajutor in legatura cu server..daca nu iti porneste sau cu hostul...nu de scripting... REPORTED!
  2. xxSPEEDYxx

    [MAP]Irak

  3. ...destul de frumos 4/5...
  4. foarte foarte tare ruben 10/10:D
  5. GJ 5/5... cand va aparea 0.3d:))...sa ii faci update=))lol...(sa schimbi o litera:P:))
  6. nu stiu daca am mai postat o data in topicu asta:))..lol si asa daca am postat postez un comm pt v2.0:P.. GJ 10/10...poate o voi folosi...
  7. frumos......bn lucrat Roach+Ruben:D5/5
  8. prea usor de fakt un FS ca asta...3/5
  9. bun pt a incepe un server nou...din asta:D...5/5
  10. incearca asa: new Float:health; //-----------------------------------[HEAL]------------------------------------------------------------------------- if(strcmp(cmd, "/heal", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); GetPlayerName(playerid, sendername, sizeof(sendername)); new location = PlayerInfo[playerid][pLocal]; if(!strlen(tmp)) { if(location != 255) { if(location < 99) { if(HouseInfo[location][hArm] == 1 && IsACop(playerid)) { format(string, sizeof(string), "* %s puts on body armour.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); TogglePlayerControllable(playerid, 0); GetPlayerPos(playerid, Unspec[playerid][sPx], Unspec[playerid][sPy], Unspec[playerid][sPz]); Unspec[playerid][sPint] = PlayerInfo[playerid][pInt]; Unspec[playerid][sLocal] = PlayerInfo[playerid][pLocal]; SetPlayerPos(playerid,1527.5,-12.1,1002.0); PlayerInfo[playerid][pLocal] = 255; SetPlayerInterior(playerid,99); Spectate[playerid] = 257; } else { format(string, sizeof(string), "This place does not have armour upgrades."); SendClientMessage(playerid, TEAM_GREEN_COLOR,string); } if(HouseInfo[location][hHel] == 1) { GetPlayerHealth(playerid,health); if ( health < 100.0) { SetPlayerHealth(playerid,100.0); PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0); format(string, sizeof(string), "You have been healed to 100 health."); SendClientMessage(playerid, TEAM_GREEN_COLOR,string); } else { SendClientMessage(playerid, TEAM_GREEN_COLOR,"You are already healed to 100."); } } else { format(string, sizeof(string), "This place does not have healing upgrades."); SendClientMessage(playerid, TEAM_GREEN_COLOR,string); } return 1; } else if(location == 101)//Restaurant { GetPlayerHealth(playerid,health); if ( health < 100.0) { SetPlayerHealth(playerid,100.0); PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0); format(string, sizeof(string), "You have been healed to 100 health."); SendClientMessage(playerid, TEAM_GREEN_COLOR,string); } else { SendClientMessage(playerid, TEAM_GREEN_COLOR,"You are already healed to 100."); } } else if(location == 102 && IsACop(playerid))//Police Armoury { SetPlayerHealth(playerid,100.0); format(string, sizeof(string), "* %s puts on body armour.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); TogglePlayerControllable(playerid, 0); GetPlayerPos(playerid, Unspec[playerid][sPx], Unspec[playerid][sPy], Unspec[playerid][sPz]); Unspec[playerid][sPint] = PlayerInfo[playerid][pInt]; Unspec[playerid][sLocal] = PlayerInfo[playerid][pLocal]; SetPlayerPos(playerid,1527.5,-12.1,1002.0); PlayerInfo[playerid][pLocal] = 255; SetPlayerInterior(playerid,99); Spectate[playerid] = 257; } } else { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /heal [playerid/PartOfName] [price]"); return 1; } } giveplayerid = ReturnUser(tmp); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /heal [playerid/PartOfName] [price]"); return 1; } moneys = strval(tmp); if(moneys < 1 || moneys > 1000) { SendClientMessage(playerid, COLOR_GREY, " Healing price not below 1 or above 1000 !"); return 1; } if (giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GRAD1, " You can not heal yourself!"); return 1; } if (IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); new giveambu = GetPlayerVehicleID(giveplayerid); new playambu = GetPlayerVehicleID(playerid); if(gTeam[playerid] == TEAM_CYAN||PlayerInfo[playerid][pMember]==4||PlayerInfo[playerid][pLeader]==4)//model { if (IsAnAmbulance(playambu) && playambu == giveambu) { GetPlayerHealth(giveplayerid,health); if(health >= 100.0) { SendClientMessage(playerid, TEAM_GREEN_COLOR," That person is fully healed."); return 1; } format(string, sizeof(string), "~y~You healed ~n~~w~%s~n~~g~$%d", giveplayer,moneys); GameTextForPlayer(playerid, string, 5000, 1); GivePlayerMoney(playerid,moneys); GivePlayerMoney(giveplayerid,-moneys); new hp = 0; if(PlayerInfo[playerid][pPainPerk] > 0) { hp = 20 * PlayerInfo[playerid][pPainPerk]; hp += 100; SetPlayerHealth(giveplayerid, hp); } else { hp = 100; SetPlayerHealth(giveplayerid, 100); } PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0); PlayerPlaySound(giveplayerid, 1150, 0.0, 0.0, 0.0); format(string, sizeof(string), "You have been healed to %d health -$%d",hp,moneys); SendClientMessage(giveplayerid, TEAM_GREEN_COLOR,string); if(STDPlayer[giveplayerid] > 0) { STDPlayer[giveplayerid] = 0; SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, "* You are no longer infected with a STD anymore because of the Medics help !"); } } else { SendClientMessage(playerid, COLOR_GRAD1, " One of you is not in the Ambulance / Chopper !"); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD1, " You are not authorized to use that command !"); return 1; } } } else { format(string, sizeof(string), " %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } } return 1; }
  11. si pentru asta baga: Header size: 9276 bytes Code size: 1778556 bytes Data size: 10459188 bytes Stack/heap size: 16384 bytes; estimated max. usage=5266 cells (21064 bytes) Total requirements:12263404 bytes #pragma dynamic 140000
  12. nu ma...sa pui un link de download pt TextDrawEditor1.0 - sa vadaa si altii cu ce se fac TD-uri..
  13. simplu cum zici si tu:P...macar puteai sa dai un link la TextDrawEdito1.0 sa vada si altii cu ce se fac TD-uri daca nu stiu.. in rest 4/5... PS. - puteai sa- l faci ca FS..:|
  14. nu se poate ca sa fie in toate aia ce a zis el... nush sv tau ii pe host?
  15. xxSPEEDYxx

    [MAP]Ferma v3

    OFF:stuntman cu naiba faci ce faci da tot scrii iaintea mea intr-un topic:)).. ON: mda asta ii buna 5/5:D
  16. gunoi mapa asta la ce ai mai postato 0/5...?mai bn economiseai timp si faceai ceva mai bun...si primeai note mai mare:P
  17. xxSPEEDYxx

    [MAP]Grov

    mie imi place 5/5
  18. asta nu prea ti-a reusit 3/5
  19. hmm destul de frumos...4/5
  20. mda..incearca asa: #include < a_samp > #define Dialog_Donatii 12000 #define COLOR_LEMON 0xDDDD2357 #pragma tabsize 0 #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Donatii by GiGiMuScHi loaded "); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Donatii by GiGiMuScHi Unloaded "); print("----------------------------------\n"); } #endif public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp("/donatii",cmdtext)) { ShowPlayerDialog(playerid,Dialog_Donatii,DIALOG_STYLE_LIST,"Donatii","Donatii admin\nDonatii Masina si altele\nInfo Donatii","Selecteaza","Inchide"); return 1; } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == Dialog_Donatii) { if(response) { if(listitem == 0) { SendClientMessage (playerid, COLOR_LEMON, " No Contracts available !"); } if(listitem == 1)// { SendClientMessage (playerid, COLOR_LEMON, " No Contracts available !"); } if(listitem == 2)// { SendClientMessage (playerid, COLOR_LEMON, " No Contracts available !"); } }else { SendClientMessage(playerid,0x1E519DAA,"Ai inchis meniul de Donatii"); } } }
  21. xxSPEEDYxx

    [MAP]Ferma v2

    tot asa 4/5;
  22. xxSPEEDYxx

    [MAP]Ferma

    bv 4/5;
  23. xxSPEEDYxx

    [MAP]Lv

  24. 1.Incearca sa pui prima oara asta: #define Dialog_Donatii 12000 si incearca sa vezi daca merge.. 2.La ce ai pus return 0; la sfarsit? stergeo si lasa numai return 1;
×
×
  • 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.