-
Posts
755 -
Joined
-
Last visited
-
Days Won
42
Content Type
Profiles
Forums
News
Documentation
Everything posted by InceMan
-
tot nu merge
-
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
-
multumesc
-
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); }
-
Gamemod bugged pai GivePlayerCash imi da eroare ca am incercat
-
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
-
nu este bun linkul
-
pai comanda aia o am dar playerul normal nu poate sa vanda casa lui personala
-
ma ajuta cineva?
-
si cum il fac sa si sa o pot vinde pe casa
-
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
-
multumesc mi-ai fost de folos merge foarte bine
-
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); ?
-
multmesc dar nu imi merge cand dau winevent im zice doar ca am castigat dar nu arata cine a castigat
-
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
-
nu merge sa il dowloadezi nu e bun linkul
-
mie nu imi merge la login create character
-
ce vrei sa stii da-mi pm si te voi ajuta
-
Bravo Pentru munca depusa !
-
ok ma bucur ca te-am fost de ajutor
-
Trebuie sa fii Meneger sa poti da ai /famameneger
-
am si eu o problema la instalare ma ajuta cineva ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team [16:39:08] [16:39:08] Server Plugins [16:39:08] -------------- [16:39:08] Loading plugin: sscanf.so [16:39:08] [16:39:08] =============================== [16:39:08] sscanf plugin loaded. [16:39:08] Version: 2.8.1 [16:39:08] (c) 2012 Alex "Y_Less" Cole [16:39:08] =============================== [16:39:08] Loaded. [16:39:08] Loading plugin: streamer.so [16:39:08] *** Streamer Plugin v2.7.8 by Incognito loaded *** [16:39:08] Loaded. [16:39:08] Loading plugin: audio.so [16:39:08] *** Audio Plugin v0.5 R2 by Incognito loaded *** [16:39:08] Loaded. [16:39:08] Loading plugin: nativechecker.so [16:39:08] Loaded. [16:39:08] Loading plugin: mysql_static.so [16:39:08] >> plugin.mysql: R39-3 successfully loaded. [16:39:08] Loaded. [16:39:08] Loading plugin: mysql.so [16:39:08] >> plugin.mysql: R39-3 successfully loaded. [16:39:08] Loaded. [16:39:08] Loading plugin: Whirlpool.so [16:39:08] [16:39:08] ================== [16:39:08] [16:39:08] Whirlpool loaded [16:39:08] [16:39:08] ================== [16:39:08] [16:39:08] Loaded. [16:39:08] Loading plugin: ColAndreas.so [16:39:08] Failed (libBulletDynamics.so.2.82: cannot open shared object file: No such file or directory) [16:39:08] Loading plugin: crashdetect.so [16:39:08] CrashDetect must be loaded before 'streamer.so'