Jump to content

InceMan

Membru
  • Posts

    754
  • Joined

  • Last visited

  • Days Won

    43

Everything posted by InceMan

  1. gata am rezolvat singur trebuia sa sa pun new tmp;
  2. tot nu merge
  3. Problema intalnita (descriere):imi da eroare la tmp = strtok(cmdtext, idx); inainte mergea dar am decis sa pun ceva de genul si nu mai merge format(string, sizeof(string), "{FF0000}Info: {FFFFFF}Comanda {FF0000}%s {FFFFFF}nu exista!", cmdtext);Ero(area / rile) / warning-(ul / urile):Liniile de cod / sursa / script-ul(obligatoriu): CMD:loadmission(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(playerVariables[playerid][pAdminLevel] < 3)return SendClientMessage(playerid, COLOR_RED, "Your admin level 7 is not high enough to use this command."); { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD1, "{33ccff}Utilizeaza:{FFFFFF} /loadmission [missionname]"); return 1; } LoadMission(playerid,tmp); } } return 1; } Imagini / Video (optional):Ati incercat sa rezolvati singur?: da
  4. multumesc
  5. am ceva de geniu SetPlayerCheckpoint(playerid, -385.85,-1319.85,27.61,8.0); new cashr = 5000; playerVariables[playerid][pMoney] += cashr; format(string, sizeof(string), "~r~Ai castigat ~n~~w~ $%d!", cashr); GameTextForPlayer(playerid, string, 3000, 1); }
  6. Gamemod bugged pai GivePlayerCash imi da eroare ca am incercat
  7. Problema intalnita (descriere): cand duc servieta imi da bani aia dupa 1 min mi-ea inapoi si nu stiu de-ce Ero(area / rile) / warning-(ul / urile):nu sunt erori Liniile de cod / sursa / script-ul(obligatoriu):if(playerid == CashboxOwner) { PlayerPlaySound(playerid, 1054, 0, 0, 0); KillTimer(DropValueTimer); new str[128], pName[MAX_PLAYER_NAME]; if(mode == 1) { DisablePlayerCheckpoint(playerid); } CashboxOwner = INVALID_PLAYER_ID; GetPlayerName(playerid, pName, sizeof(pName)); format(str, 128, "%s (ID: %d) a livrat servieta si a castigat $%d", pName, playerid, CashboxValue); SendClientMessageToAll(0xFFD700AA, str); GivePlayerMoney(playerid, CashboxValue); format(str, 128, "~y~Felicitari! ~n~ Ai castigat ~n~~g~$%d", CashboxValue); GameTextForPlayer(playerid, str, 4000, 3); SendClientMessageToAll(0xFFD700AA, "Un nou joc va incepe in 3 minute!"); SetTimer("StartNewCashboxGame", 180000, 0); IsGameStarted = 0; if(IsTextdrawCreated == 1) { TextDrawDestroy(ValueText); IsTextdrawCreated = 0; } } Imagini / Video (optional): Ati incercat sa rezolvati singur?:da
  8. nu este bun linkul
  9. pai comanda aia o am dar playerul normal nu poate sa vanda casa lui personala
  10. ma ajuta cineva?
  11. si cum il fac sa si sa o pot vinde pe casa
  12. Problema intalnita (descriere):nu pot sa ii vand cuie-va casa care o detin eu si doar sa ii pun price la casa merge sa pun Ero(area / rile) / warning-(ul / urile):nu suntLiniile de cod / sursa / script-ul(obligatoriu): CMD:sellhouse(playerid, params[]) { if(playerVariables[playerid][pStatus] >= 100) { new housePrice; new houseID = getPlayerHouseID(playerid); if(sscanf(params, "d", housePrice)) return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/sellhouse [price]"); if(houseID < 1) return 1; new labelString[96]; if(housePrice != 0 && housePrice > 0) { switch(houseVariables[houseID][hHouseLocked]) { case 1: { format(labelString, sizeof(labelString), "House %d (owned)\nOwner: %s\nRent: %d\nPrice: $%s\n\nPress ~k~~F to enter.", houseID,houseVariables[houseID][hHouseOwner],houseVariables[houseID][hRent], NumberFormat(houseVariables[houseID][hHousePrice])); } case 0: { format(labelString, sizeof(labelString), "House %d (owned)\nOwner: %s\nRent: %d\nPrice: $%s\n\n(locked)", houseID,houseVariables[houseID][hHouseOwner], houseVariables[houseID][hRent], NumberFormat(houseVariables[houseID][hHousePrice])); } } houseVariables[houseID][hHousePrice] = housePrice; DestroyDynamicPickup(houseVariables[houseID][hPickupID]); DestroyDynamic3DTextLabel(houseVariables[houseID][hLabelID]); houseVariables[houseID][hLabelID] = CreateDynamic3DTextLabel(labelString, COLOR_YELLOW, houseVariables[houseID][hHouseExteriorPos][0], houseVariables[houseID][hHouseExteriorPos][1], houseVariables[houseID][hHouseExteriorPos][2], 100, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0); houseVariables[houseID][hPickupID] = CreateDynamicPickup(1272, 23, houseVariables[houseID][hHouseExteriorPos][0], houseVariables[houseID][hHouseExteriorPos][1], houseVariables[houseID][hHouseExteriorPos][2], 0, houseVariables[houseID][hHouseExteriorID], -1, 250); format(labelString, sizeof(labelString), "House has been put on sold for $%s!", NumberFormat(houseVariables[houseID][hHousePrice])); SendClientMessage(playerid, COLOR_WHITE, labelString); saveHouse(houseID); } else if(housePrice == 0) { switch(houseVariables[houseID][hHouseLocked]) { case 1: { format(labelString, sizeof(labelString), "House %d (owned)\nOwner: %s\nRent: %d\n\n(locked)", houseID, houseVariables[houseID][hHouseOwner], houseVariables[houseID][hRent]); } case 0: { format(labelString, sizeof(labelString), "House %d (owned)\nOwner: %s\nRent: %d\n\nPress ~k~~F to enter.", houseID,houseVariables[houseID][hHouseOwner], houseVariables[houseID][hRent]); } } DestroyDynamicPickup(houseVariables[houseID][hPickupID]); DestroyDynamic3DTextLabel(houseVariables[houseID][hLabelID]); houseVariables[houseID][hLabelID] = CreateDynamic3DTextLabel(labelString, COLOR_YELLOW, houseVariables[houseID][hHouseExteriorPos][0], houseVariables[houseID][hHouseExteriorPos][1], houseVariables[houseID][hHouseExteriorPos][2], 100, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0); houseVariables[houseID][hPickupID] = CreateDynamicPickup(1272, 23, houseVariables[houseID][hHouseExteriorPos][0], houseVariables[houseID][hHouseExteriorPos][1], houseVariables[houseID][hHouseExteriorPos][2], 0, houseVariables[houseID][hHouseExteriorID], -1, 250); houseVariables[houseID][hHousePrice] = 0; format(labelString, sizeof(labelString), "House has been removed from sold!"); SendClientMessage(playerid, COLOR_WHITE, labelString); saveHouse(houseID); } } return 1; } Imagini / Video (optional):nu amAti incercat sa rezolvati singur?: da si nu merge
  13. multumesc mi-ai fost de folos merge foarte bine
  14. merge acum dar nu imi raman bani care ii dau la event mii da in cash dar dupa 20 sec mii ea inapoi poate nui buna aia cu GivePlayerMoney(targetid, prize); si sa o trec in SetPlayerMoney(targetid, prize); ?
  15. ok ms
  16. multmesc dar nu imi merge cand dau winevent im zice doar ca am castigat dar nu arata cine a castigat
  17. Problema intalnita (descriere):cand dau winevent pe un player anume imi zice ca tot eu am castigat si daca am 200000k la mine si eventul e de 5000k imi sterge bani aia care ii am cum ii rezolv bugulEro(area / rile) / warning-(ul / urile):nu sunt eroriLiniile de cod / sursa / script-ul(obligatoriu): CMD:winevent(playerid,params[]) { if(playerVariables[playerid][pAdminLevel] < 1) if(sscanf(params,"s",playerid)) return SendClientMessage(playerid,COLOR_RED,"Usage: /eventwin [Player name/ID]."); if(playerid==INVALID_PLAYER_ID) return SendClientMessage(playerid,COLOR_RED,"No such player."); else { new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid,pname,MAX_PLAYER_NAME); new str[128]; format(str,128,"{FF9900}%s {CCCCCC}a castigat eventul si a primit {00CC00}$%d!",pname, result,prize); SendClientMessageToAll(COLOR_GREEN,str); new string[64]; format(string,64,"You have won the event '%s'!",result); GameTextForPlayer(playerid,string,5,3000); GivePlayerMoney(playerid, prize); } return 1; } Imagini / Video (optional):http://imgur.com/apY4s4KAti incercat sa rezolvati singur?: da
  18. nu merge sa il dowloadezi nu e bun linkul
  19. mie nu imi merge la login create character
  20. ce vrei sa stii da-mi pm si te voi ajuta
  21.  IP: 89.33.242.177:7777

  22. Bravo Pentru munca depusa !
  23. ok ma bucur ca te-am fost de ajutor
  24. Trebuie sa fii Meneger sa poti da ai /famameneger
×
×
  • 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.