Jump to content

Leonard

Administrator
  • Posts

    1,303
  • Joined

  • Last visited

  • Days Won

    53

Everything posted by Leonard

  1. Un sistem facut de bine? Un gamemode sau un cod ceva?
  2. Problema a fost rezolvată. Topicul a fost închis!
  3. Problema a fost rezolvată. Topicul a fost închis!
  4. Problema a fost rezolvată. Topicul a fost închis!
  5. Problema a fost rezolvată. Topicul a fost închis!
  6. Problema a fost rezolvată. Topicul a fost închis!
  7. Problema a fost rezolvată. Topicul a fost închis!
  8. Leonard

    Servicii PAWN

    Niste sisteme facute de tine nu ne arati si noua? Un cod ceva sa vedem cum lucrezi, sau cv.
  9. Problema a fost rezolvată. Topicul a fost închis!
  10. https://leaks.ro/index.php?/topic/2353-tutorial-cadou-zburator-by-nobilzeus/
  11. Problema a fost rezolvată. Topicul a fost închis!
  12. Problema a fost rezolvată. Topicul a fost închis!
  13. Problema a fost rezolvată. Topicul a fost închis!
  14. Problema a fost rezolvată. Topicul a fost închis!
  15. Daca-l pui cu copy + paste, e claros :)) ON: E fain
  16. Cand cumpara o arma, ii scazi din variabila care preia banii din baza de date cand se logheaza PlayerInfo[ playerid ][ pCash ] -= suma_armei; Si dupa updatezi in baza de date: new gQuery[ 128 ]; gQuery[ 0 ] = ( EOS ); mysql_format( SQL, gQuery, sizeof gQuery, "UPDATE `tabelUsers` SET `coloanaBani` = '%d' WHERE `coloanaSQLID`= '%d'", PlayerInfo[ playerid ][ pCash ], PlayerInfo[ playerid ][ pSQLID ]); mysql_tquery( SQL, gQuery, "", "" );
  17. Problema a fost rezolvată. Topicul a fost închis!
  18. Faci o functie: function deleteDealership( playerid ) { RemoveBuildingForPlayer(playerid, 6475, 322.4219, -1514.9922, 55.2891, 0.25); RemoveBuildingForPlayer(playerid, 6476, 332.8906, -1500.0625, 29.8750, 0.25); RemoveBuildingForPlayer(playerid, 730, 364.9766, -1449.3281, 34.0078, 0.25); RemoveBuildingForPlayer(playerid, 730, 378.4219, -1438.3750, 33.6016, 0.25); RemoveBuildingForPlayer(playerid, 730, 285.9766, -1564.5156, 32.8828, 0.25); RemoveBuildingForPlayer(playerid, 6518, 310.3438, -1546.9688, 69.5625, 0.25); RemoveBuildingForPlayer(playerid, 733, 395.9844, -1454.7344, 30.6406, 0.25); RemoveBuildingForPlayer(playerid, 729, 262.8594, -1559.7188, 32.5391, 0.25); RemoveBuildingForPlayer(playerid, 729, 379.1250, -1475.3281, 31.4219, 0.25); RemoveBuildingForPlayer(playerid, 621, 271.3125, -1563.8281, 32.1094, 0.25); RemoveBuildingForPlayer(playerid, 621, 266.5703, -1551.0391, 32.1094, 0.25); RemoveBuildingForPlayer(playerid, 620, 279.7344, -1565.5156, 32.2813, 0.25); RemoveBuildingForPlayer(playerid, 1216, 295.1641, -1573.0625, 33.1563, 0.25); RemoveBuildingForPlayer(playerid, 3671, 296.2266, -1553.2188, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 1216, 296.7578, -1573.2969, 33.1563, 0.25); RemoveBuildingForPlayer(playerid, 620, 311.7891, -1571.0625, 32.2813, 0.25); RemoveBuildingForPlayer(playerid, 620, 300.6797, -1570.7109, 31.6797, 0.25); RemoveBuildingForPlayer(playerid, 620, 272.3828, -1533.3672, 31.6797, 0.25); RemoveBuildingForPlayer(playerid, 3671, 300.6719, -1540.3906, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 3671, 306.1094, -1528.5000, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 1232, 325.2656, -1539.5547, 35.2031, 0.25); RemoveBuildingForPlayer(playerid, 1232, 330.9766, -1531.0703, 35.2031, 0.25); RemoveBuildingForPlayer(playerid, 621, 323.6719, -1534.6563, 32.1094, 0.25); RemoveBuildingForPlayer(playerid, 3671, 312.8203, -1517.0938, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 6342, 322.4219, -1514.9922, 55.2891, 0.25); RemoveBuildingForPlayer(playerid, 3671, 320.6797, -1506.4531, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 3671, 329.6094, -1496.6953, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 6341, 332.8906, -1500.0625, 29.8750, 0.25); RemoveBuildingForPlayer(playerid, 1232, 342.5781, -1514.8594, 35.2031, 0.25); RemoveBuildingForPlayer(playerid, 620, 345.3125, -1506.5000, 32.1719, 0.25); RemoveBuildingForPlayer(playerid, 1232, 349.4063, -1507.3203, 35.2031, 0.25); RemoveBuildingForPlayer(playerid, 3671, 339.5156, -1487.9219, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 3671, 350.2813, -1480.2266, 57.0391, 0.25); RemoveBuildingForPlayer(playerid, 6386, 356.1953, -1514.6563, 33.7813, 0.25); RemoveBuildingForPlayer(playerid, 620, 363.4609, -1493.3672, 32.1719, 0.25); RemoveBuildingForPlayer(playerid, 712, 388.9141, -1472.6016, 39.6719, 0.25); RemoveBuildingForPlayer(playerid, 620, 371.3984, -1448.6250, 33.7344, 0.25); RemoveBuildingForPlayer(playerid, 1284, 416.8672, -1464.4375, 32.6875, 0.25); RemoveBuildingForPlayer(playerid, 1283, 416.0156, -1453.2422, 32.6641, 0.25); return true; } Si o initiem la OnPlayerConnect public OnPlayerConnect( playerid ) { // codurile tale deleteDealership( playerid ); return true; }
  19. Intra in mapeditor, te duci in zona dealershipului tau, il distrugi si dupa iei codu si-l pui la OnPlayerConnect(playerid)
  20. Pai, unde vrei sa distrugi mai exact o constructie... Daca vrei sa o distrugi cand se conecteaza jucatorul, o pui la OnPlayerConnect( playerid ) OnPlayerConnect( playerid ) { RemoveBuildingForPlayer( ... ); return true; } Sau daca vrei sa distrugi o constructie intr-un mod anume, gen la misiuni sau idk, o comanda cv, faci o functie pe care o apelezi atunci function destroyBuilds( playerid ) { RemoveBuildingForPlayer( ... ); return true; } Si sa-ti mai raspund la intrebarea cu coordonatele: Functia PlayerToPoint arata cam asa PlayerToPoint( raza, playerid, x, y, z ) if( !PlayerToPoint( raza, playerid, x, y, z ) ) return mesaj; Daca jucatorul nu se afla in raza X Y Z sa returnezi un mesaj Sper ca ai inteles.
×
×
  • Create New...