Jump to content

[N]IZANNN

Membru
  • Content Count

    37
  • Joined

  • Last visited

  • Days Won

    1

[N]IZANNN last won the day on July 20 2019

[N]IZANNN had the most liked content!

Community Reputation

2 Neutru

About [N]IZANNN

  • Rank
    Membru
  • Birthday 06/17/2002

Profile Information

  • Sex
    Masculin
  • Interests
    Sa invat cat mai multe despre pawn
  • Name in game
    [N]IZANNN
  • Level of knowledge
    Începător

Recent Profile Visitors

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

  1. nu trebuie totul tine de asta la function LoadSVehicles() nu am scris eu bine aici ceva... oriiiii e ca tine =D
  2. pune asta la dialogs #define DIALOG_PET dupa la public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) si pui case DIALOG_PET: { switch(listitem) { case 0: { if(!response) return 1; if(PlayerInfo[playerid][pPetStatus] == 0) { PlayerInfo[playerid][pPetStatus] = 1; format(string, sizeof(string),"Status\tTrezit\nNume Pet\t{FFFF00}%s\nBeneficii pet\nUpgradeaza pet\t%d pet points",PlayerInfo[playerid][pPetName],PlayerInfo[playerid][pPetPoints]); SetPlayerAttachedObject(playerid, 6, 19078, 17, 0.021065, -0.100726, 0.143000, 357.120239, 1.712298, 349.232513, 1.000000, 1.000000, 1.120420 ); format(string, sizeof(string), " {6AD439}%s{FFFFFF} - level {6AD439}%d{FFFFFF}",PlayerInfo[playerid][pPetName],PlayerInfo[playerid][pPetLevel]); Pet[playerid] = CreateDynamic3DTextLabel(string, COLOR_WHITE, 357.120239, 1.712298, 349.232513, 20, playerid); SCMEx(playerid, -1, "Ai trezit pe %s si s-a pus pe umarul tau",PlayerInfo[playerid][pPetName]); format(query, sizeof(query),"UPDATE `users` SET `PetStatus` = '1' WHERE `Name` = '%s'", GetName(playerid)); mysql_tquery(SQL, query, " ", " "); Update(playerid, pPetStatusx); } else { RemovePet(playerid); SCMEx(playerid, -1, "Ai trimis pe %s la culcare",PlayerInfo[playerid][pPetName]); PlayerInfo[playerid][pPetStatus] = 0; format(query, sizeof(query),"UPDATE `users` SET `PetStatus` = '0' WHERE `Name` = '%s'", GetName(playerid)); mysql_tquery(SQL, query, " ", " "); Update(playerid, pPetStatusx); } } case 1: { if( !response) return 1; format(string, sizeof(string),"Numele actual al pet-ului este %s.\nDaca doresti sa il schimbi,te rugam sa introduci numele dorit in casuta de mai jos\n{FF1302}ATENTIE:{FFFFFF} La fiecare schimbare de nume a pet-ului ti se vor lua 20 PP-uri.",PlayerInfo[playerid][pPetName]); ShowPlayerDialog(playerid, DIALOG_PETNAME, DIALOG_STYLE_INPUT, "Pet name change", string, "Change", "Cancel"); } case 2: { Checkstatuspet(playerid); } case 3: { if(PlayerInfo[playerid][pPetPoints] < 120) return SendClientMessage(playerid, -1, "Nu poti creste pet-ul in level deoarece nu ai Pet Ponits necesare(120)"); PlayerInfo[playerid][pPetPoints] -= 120; PlayerInfo[playerid][pPetLevel] ++; Update(playerid, pPetPointsx); Update(playerid, pPetLevelx); SCMEx(playerid, -1, "Acum pet-ul tau are level %d",PlayerInfo[playerid][pPetLevel]); DestroyDynamic3DTextLabel(Pet[playerid]); format(string, sizeof(string), " {6AD439}%s{FFFFFF} - level {6AD439}%d{FFFFFF}",PlayerInfo[playerid][pPetName],PlayerInfo[playerid][pPetLevel]); Pet[playerid] = CreateDynamic3DTextLabel(string, COLOR_WHITE, 357.120239, 1.712298, 349.232513, 20, playerid); } } }
  3. function LoadSVehicles() { new Cache: db = mysql_query (SQL, "SELECT * FROM `svehicles` ORDER BY `svehicles`.`vID` ASC"); new x, servervehs = 0, result[256]; for (new i, j = cache_get_row_count (); i != j; ++i) { servervehs ++; cache_get_field_content(i, "vID", result); x = strval(result); ServerVehicles[x][vID] = x; cache_get_field_content(i, "vModel", result); ServerVehicles[x][vModel] = strval(result); cache_get_field_content(i, "LocationX", result); ServerVehicles[x][vLocation][0] = floatstr(result); cache_get_field_content(i, "LocationY", result); ServerVehicles[x][vLocation][1] = floatstr(result); cache_get_field_content(i, "LocationZ", result); ServerVehicles[x][vLocation][2] = floatstr(result); cache_get_field_content(i, "Angle", result); ServerVehicles[x][vAngle] = floatstr(result); cache_get_field_content(i, "Color1", result); ServerVehicles[x][vColor][0] = strval(result); cache_get_field_content(i, "Color2", result); ServerVehicles[x][vColor][1] = strval(result); cache_get_field_content(i, "Faction", result); ServerVehicles[x][vFaction] = strval(result); cache_get_field_content(i, "Rank", result); ServerVehicles[x][vRank] = strval(result); cache_get_field_content(i, "Virtual", result); ServerVehicles[x][vVirtual] = strval(result); if(ServerVehicles[x][vModel] >= 400 && ServerVehicles[x][vModel] <= 611) { ServerVehicles[x][vSpawned] = CreateVehicleEx(ServerVehicles[x][vModel], ServerVehicles[x][vLocation][0], ServerVehicles[x][vLocation][1], ServerVehicles[x][vLocation][2], ServerVehicles[x][vAngle], ServerVehicles[x][vColor][0], ServerVehicles[x][vColor][1], -1); new idd = ServerVehicles[x][vSpawned]; SetVehicleVirtualWorld(idd, ServerVehicles[idd][vVirtual]); if(ServerVehicles[idd][vFaction] != 0) { if(ServerVehicles[idd][vModel] == 411) { new policecar = CreateObject(19327, 1534.2373, -1643.2886, 5.9373, -87.6999, 90.4001, -87.1805); SetObjectMaterialText(policecar, "POLICE", 0, 50, "Arial", 25, 1, -16777216, 0, 1); new lspdcar = CreateObject(19419,0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000); AttachObjectToVehicle(policecar, idd, 0.0, -1.9, 0.3, 270.0, 0.0, 0.0); AttachObjectToVehicle(lspdcar, idd, 0.0646, 0.1661, 0.6957, 0.0000, 0.0000, 0.0000); } if(ServerVehicles[idd][vModel] == 560) { if(ServerVehicles[idd][vFaction] == 12 || ServerVehicles[idd][vFaction] == 13) { new taiddiobj = CreateObject(19308, 0.00000, 0.00000, 0.00000,0.00000, 0.00000, 0.00000); AttachObjectToVehicle(taiddiobj, idd, -0.00930, -0.23880, 0.92300,0.00000, 0.00000, 0.00000); } } if(ServerVehicles[idd][vModel] == 541) { if(ServerVehicles[idd][vFaction] == 2) { new object1 = CreateObject(18646, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); new object2 = CreateObject(18646, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); AttachObjectToVehicle(object1, idd, 0.375000,0.524999,0.375000,0.000000,0.000000,0.000000); AttachObjectToVehicle(object2, idd, 0.375000,0.524999,0.375000,0.000000,0.000000,0.000000); } } new str[64]; if(ServerVehicles[idd][vFaction] != 0) format(str, 64, "F%d %d", ServerVehicles[idd][vFaction], idd); else format(str, sizeof(str), "RO-0%d", ServerVehicles[x][vSpawned]); SetVehicleNumberPlate(idd, str); } } printf("Server vehicles: %d", servervehs); cache_delete(db); return 1; Ce nu imi iese de patesc asta, ce am gresit ? poze - https://imgur.com/a/FUEfZsb
  4. E bunicel, ai ce lua din el. Buguri gasite ! - la orce clothes store la care mergi daca merg 2 odata se buguiesc amandoi acolo - la vipname pe masina ramane dupa /park textul in aer - bug la ceas se da mereu cu o ora in urma (am testat pe host de romania) lipseste comanda /nre la helperi !
  5. Înlocuiesc cu ce e acolo sau adaug?
  6. Salutare, stie cineva cum pot rezolva asta? https://imgur.com/a/PpxSsQK Am dat /park a am dat despawn la masina dupa am dat spawn a ramas asa .. YCMD:vipname(playerid, params[], help) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Nu esti logat!"); if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Nu esti intr-un vehicul!"); new carid = GetPlayerVehicleID(playerid),idcar=-1; for(new vv; vv < MAX_PERSONAL_VEHICLES; vv++) { if(carid == PlayerInfo[playerid][pCarID][vv]) { idcar = vv; } } if(idcar == -1) return SendClientMessage(playerid, COLOR_LIGHTGREEN3, "Poti folosi aceasta comanda doar pe vehicule VIP."); if(IsPlayerConnected(playerid)) { if(carid == PlayerInfo[playerid][pCarID][idcar]) { if(PlayerInfo[playerid][pCarVIP][idcar] > 0) { new query[256],text[20],test[20]; if(sscanf(params, "s[20]", text)) return SCM(playerid, COLOR_WHITE,"{AB0000}Usage: {FFFFFF}/vipname [text]"); if(strlen(text) > 20) return SendClientMessage(playerid, COLOR_LIGHTGREEN3, "Maximum 20 characters are allowed."); if(strlen(text) == 0) return 1; format(CarVipName[playerid][idcar], 20, text); SetVipText(playerid, idcar); mysql_real_escape_string(text, test); mysql_format(SQL, query, sizeof(query), "UPDATE `cars` SET `VipText`='%s' WHERE `ID`='%d'", test, PlayerInfo[playerid][pCar][idcar]); mysql_tquery(SQL, query, "", ""); format(query, sizeof(query), "Text pentru vehicul setat: {008080}%s", text); SendClientMessage(playerid, COLOR_WHITE, query); } else return SendClientMessage(playerid, COLOR_LIGHTGREEN3, "Poti folosi aceasta comanda doar pe vehicule VIP."); } else return SendClientMessage(playerid, COLOR_LIGHTGREEN3, "Poti folosi aceasta comanda doar pe vehicule VIP."); } return 1; }
  7. Sa ma *** in gm tau, l-ai umplut cu comenzi ascunse{-1 nu recomand !}
  8. Am ce fura din el xD ,gg! arata fain
  9. Stii ce ar ajuta? daca ai scotate rahaturile alea de minigame-uri pe care nu are nici un rost sa le mai ti... ocupa lini si nu se joaca nimeni
×
×
  • Create New...

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.