Jump to content

ProAeXel

Membru
  • Posts

    53
  • Joined

  • Last visited

Everything posted by ProAeXel

  1. Salut,daca cineva cu niste timp liber poate da o mana de ajutor in legatura cu niste scripturi as fi recunoscator.Reply sau PM va rog:)
  2. Am o problema cu scrptul de pills,nu ma lasa sa folosesc pills ,imi tot pune sa astept 300 de secunde . Mai jos aveti scriptul comenzii,am incercat sa o rezolv ,dar fara succes,nu imi dau seama ce poate avea. if(strcmp(cmdtext, "/usepills", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerBoxing[playerid] > 0) { SendClientMessage(playerid, COLOR_WHITE, "Cant use Pills while you are fighting"); return 1; } if(PlayerInfo[playerid][pPills] > 0) { if(PlayerInfo[playerid][pPastile] == 0) { GetPlayerName(playerid, sendername, sizeof(sendername)); SetPlayerHealth(playerid, 100); SendClientMessage(playerid, COLOR_WHITE, "1 Pill used"); format(string, sizeof(string), "%s took a pills a very good", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); PlayerInfo[playerid][pPills] -= 1; PlayerInfo[playerid][pPastile] = 300; ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); if(STDPlayer[playerid]==1) { STDPlayer[playerid] = 0; SendClientMessage(playerid, COLOR_LIGHTBLUE, "You are no longer infected with a STD anymore because of the Drugs"); } else if(STDPlayer[playerid]==2) { STDPlayer[playerid] = 1; SendClientMessage(playerid, COLOR_LIGHTBLUE, "You lowered the STD to Chlamydia because of the Drugs"); } else if(STDPlayer[playerid]==3) { STDPlayer[playerid] = 2; SendClientMessage(playerid, COLOR_LIGHTBLUE, "You lowered the STD to Gonorrhea because of the Drugs"); } } else SendClientMessage(playerid, COLOR_WHITE, "Please wait 300 seconds to consume pills again"); } else { SendClientMessage(playerid, COLOR_WHITE, "You dont have any Pills left"); } } // Not Connected return 1; } PS: Nu am erori la compilare
  3. Salut am o problema la sistemul de case .Dupa ce am adaugat la public OnGameModeInit linia DisableInteriorsEnterExits(),nu mai pot iesi din case deoarece atunci cand intram in ele cu "/enter" ,la iesirea aveau un yellow mark cu anim ,iar acum nu il mai au dupa adaugarea acelei linii.Imi poate explica cineva ce trebuie sa fac pentru a iesi din casa prin comanda "/exit" ?
×
×
  • 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.