Jump to content

Smokey20_official

Membru
  • Posts

    65
  • Joined

  • Last visited

Profile Information

  • Location
    Constanţa

Contact Methods

  • Discord
    Smokey20#5250

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Smokey20_official's Achievements

Enthusiast

Enthusiast (6/14)

  • Reacting Well Rare
  • Dedicated Rare
  • Collaborator
  • One Year In
  • One Month Later

Recent Badges

1

Reputation

  1. O problema destul de ciudata am intampinat la burned, cand dau resgiter si selectez la gen 'Masculin', imi da kick ca nu m-am logat, chiar daca am introdus datele repede
  2. Cand afisez un dialog creeat de mine care arata niste informatii dintr-o tabela din baza de date, imi spune "Caractere Invalide", va rog ajutor
  3. este bagat si include-ul BigInt?
  4. Salut, am decis sa introduc BigInt pe gamemode-ul burned si intampin aceste 4 erori si nu le dau de cap. Erori: C:\Users\pc\Desktop\burned.ro\gamemodes\wa-rpg.pwn(22480) : error 035: argument type mismatch (argument 1) C:\Users\pc\Desktop\burned.ro\gamemodes\wa-rpg.pwn(22482) : error 035: argument type mismatch (argument 1) C:\Users\pc\Desktop\burned.ro\gamemodes\wa-rpg.pwn(22485) : error 035: argument type mismatch (argument 1) C:\Users\pc\Desktop\burned.ro\gamemodes\wa-rpg.pwn(22498) : error 035: argument type mismatch (argument 1) Script: CMD:givemoney(playerid, params[], help) { if(PlayerInfo[playerid][pAdmin] < 5) return SCM(playerid, COLOR_WHITE, AdminOnly); new money[25],id; if(sscanf(params, "us[25]",id,money)) return SCM(playerid,COLOR_GREY, "Syntax: {FFFFFF}/givemoney <playerid/name> <Suma>"); if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SCM(playerid, COLOR_GREY, "Acel player nu este conectat."); if(CheckerBigInt(money) != 0) return true; Translate32Bit(StoreMoney[id], MoneyMoney[id], money); gString[0] = EOS; format(gString, sizeof(gString), "(/givemoney) {FFFFFF}%s give %s, $%s money", GetName(playerid), GetName(id), FormatNumberss(money)); SendAdminMessage(COLOR_WARNING, gString, 5); format(gString, sizeof(gString), "Admin-ul %s ti-a dat $%s", GetName(playerid), FormatNumberss(money)); SCM(id, COLOR_WHITE, gString); Update(id, pCashx); format(gString, sizeof(gString), "%s a primit $%s de la %s", GetName(id), FormatNumberss(money), GetName(playerid)); InsertLog(id, gString, LOG_MONEY); return true; } CMD:moneyforall(playerid, params[], help) { new money[20], szMessage[180]; if(PlayerInfo[playerid][pAdmin] < 6) return SCM(playerid, COLOR_GREY, "Nu esti autorizat sa folosesti aceasta comanda!"); if(sscanf(params, "s[20]", money)) return SCM(playerid, COLOR_GREY, "Syntax: {FFFFFF}/moneyforall <money>"); if(CheckerBigInt(money) != 0) return true; foreach(Player, i) { if(IsPlayerConnected(i) && IsPlayerLogged[i] == 1) { Translate32Bit(StoreMoney[i], MoneyMoney[i], money); format(szMessage, sizeof(szMessage), "* Administratorul {F03636}%s{FFFFFF} ti-a dat $%s ca bonus!", GetName(playerid), FormatNumberss(money)); SCM(i,COLOR_WHITE,szMessage); } } return true; }
  5. Ma poate ajuta cineva sa configurez Bigint.inc by matt pentru gm burned?
  6. function GetVehicleSpeedUp(playerid, carid) { if(ServerSystem[11] == 1) return true; new x, m = CarInfo[carid][cMaxSpeed]; x = CarInfo[carid][cStage] ? StageSpeed[0][CarInfo[carid][cStage]]+x : x; return Carspeed(GetPlayerVehicleID(playerid)) < (m-3) || Carspeed(GetPlayerVehicleID(playerid)) > (x-3) ? (true) : (false); }
  7. Presupun ca am gasit problema, iti spun imediat
  8. function GiveVehicleSpeed(i) { if(ServerSystem[11] == 1 || !IsPlayerInAnyVehicle(i)) return true; new vehicleid = GetPlayerVehicleID(i), keys, Float:vx, Float:vy, Float:vz, carid = FindSpawnID(GetPlayerVehicleID(i)) ; if(GetVehicleSpeedUp(i, carid)) return true; GetPlayerKeys(i, keys, _:vx, _:vx); if ((keys & (KEY_VEHICLE_FORWARD | KEY_VEHICLE_BACKWARD | KEY_HANDBRAKE)) == KEY_VEHICLE_FORWARD) { GetVehicleVelocity(vehicleid, vx, vy, vz); if (vx * vx + vy * vy < g_SpeedThreshold) return true; vx *= SPEED_MULTIPLIER; vy *= SPEED_MULTIPLIER; if (vz > 0.04 || vz < -0.04) vz -= 0.020; SetVehicleVelocity(vehicleid, vx, vy, vz); } return true; }
  9. function GiveVehicleSpeed(i) { if(ServerSystem[11] == 1 || !IsPlayerInAnyVehicle(i)) return true; new vehicleid = GetPlayerVehicleID(i), keys, Float:vx, Float:vy, Float:vz, carid = FindSpawnID(GetPlayerVehicleID(i)) ; if(GetVehicleSpeedUp(i, carid)) return true; GetPlayerKeys(i, keys, _:vx, _:vx); if ((keys & (KEY_VEHICLE_FORWARD | KEY_VEHICLE_BACKWARD | KEY_HANDBRAKE)) == KEY_VEHICLE_FORWARD) { GetVehicleVelocity(vehicleid, vx, vy, vz); if (vx * vx + vy * vy < g_SpeedThreshold) return true; vx *= SPEED_MULTIPLIER; vy *= SPEED_MULTIPLIER; if (vz > 0.04 || vz < -0.04) vz -= 0.020; SetVehicleVelocity(vehicleid, vx, vy, vz); } return true; }
  10. Salut, am copiat toate scripturile legate de stage din gamemodeul bhood in gamemodeul burned si viteza vehiculului nu se actualizeaza. Va rog sa ma ajutati. Un infernus fara stage prinde maxim 209, dar cu stage prinde tot 209 function OneTimer() { foreach(new i : IsSpeed) GiveVehicleSpeed(i); return 1; } l-am trecut sub functie deoarece sub forma de task dadea erori, iar apoi am zis sa apelez la functia de timer, dar nu mai stiu unde trebuia sa o pun. SetTimer("OneTimer", 350, true);
  11. da frate, asta e problema daca uiti anumite lucruri, gata. Esti prost, nu stii, nu ai experienta etc. Treaba ta cum gandesti anumite lucruri. Alberto alege ce face
  12. am uitat ca la acel gm da erori la compilare sublime, asa ca am si spus ca am rezolvat
  13. Imi poti da add pe discord daca doresti. xanny_official
×
×
  • 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.