Jump to content

MatXpl

Members
  • Content Count

    180
  • Joined

  • Last visited

Community Reputation

0 Neutral

About MatXpl

  • Rank
    Mark

Details

  • Gang
    "50cs"
  1. It's posible to add something like this to MTA v x.x.x ?
  2. but i see only this bug with flamethrover
  3. nope local playerWeapons = { } function respawn() local p = source if ( not playerWeapons [ p ] ) then playerWeapons [ p ] = { } end for slot = 0, 12 do local weapon = getPedWeapon ( p, slot ) if ( weapon > 0 ) then local ammo = getPedTotalAmmo ( p, slot ) if ( ammo > 0 ) then playerWeapons [ p ] [ weapon ] = ammo end end end setTimer(function(p) local skin = getElementModel(p) spawnPlayer(p,1607.3,1816.5,11,0,skin) lo
  4. now i have this code, all works okay, but today i saw when i have 4 ammo of flamethrover after death it's giving me 49 ammo of flamethrover, but all other weapons work good. what's wrong?
  5. hi. i'm not good in tables. but can i please for code ? 1. get all player weapons to table 2. load them from table and give it just for learning
  6. Hi! For example.. how can i get a radom id from this table? vehicleIDS = { 602, 545, 496, 517, 401, 410, 518, 600, 527, 436, 589, 580, 419, 439, 533, 549, 526, 491, 474, 445, 467, 604, 426, 507, 547, 585, 405, 587, 409, 466, 550, 492, 566, 546, 540, 551, 421, 516, 529, 592, 553, 577, 488, 511, 497, 548, 563, 512, 476, 593, 447, 425, 519, 520, 460, 417, 469, 487, 513, 581, 510, 509, 522, 481, 461, 462, 448, 521, 468, 463, 586, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454, 485, 552, 431, 438, 437, 574, 420, 525, 408, 416, 596, 433, 597, 427, 599, 490, 432, 528, 601, 407, 428, 544, 5
  7. i don't know why, but now it's working thanks!
  8. nope. everything should working. i used in another script SELECT * and INSERT and it's working.
  9. what is wrong here? i got x,y,z arguments handler is working but stiil dont chanage data in mysql. no debuging errors local query = "INSERT INTO accounts SET x='" .. x .. "', y='"..y.."', z='"..z.."' WHERE login='"..accName.."'" mysql_query(handler, query) x,y,z in accounts is definied as 0
  10. How can i get all rows from gridlist? (using in pairs)
  11. MatXpl

    dx edit

    How can i create a dx edit? something like this:
  12. hi. how can i load xml file from my mta server in another server php script?
×
×
  • Create New...