
Anubhav
Members-
Posts
2,277 -
Joined
-
Last visited
Everything posted by Anubhav
-
One more good way: local users = {} local aclObjects = aclGroupListObjects(aclGetGroup("admin")) for k,v in ipairs(aclObjects) do table.insert(users, string.gsub(v, "user.", "") end
-
I can't be elected because I'm not a Pakastani.
-
i think only whole skin have id...objects don't have id type of stuff What is wrong with you? Objects do have ID's.
-
See my gudx resource, it has a cursor type. You can make something like that!
-
Buy function addCommandHandler("buyhouse", function(thePlayer) if isGuestAccount(getPlayerAccount(thePlayer)) then return outputChatBox('Guests can\'t buy houses!', thePlayer) end if(getElementData(thePlayer, "house:lastvisit")) and (getElementData(thePlayer, "house:lastvisit") ~= false) then local house = getElementData(thePlayer, "house:lastvisit") if(house) then local id = house local owner = houseData[id]["OWNER"] if(owner ~= "Недвижимость Штата") then outputChatBox("Вы не можете купить этот дом", thePlayer, 255, 0, 0) else local houses = 0 local baga = getPlayerAccount(thePlayer) local bagas = getAccountName(baga) for index, col in pairs(getElementsByType("colshape")) do if(getElementData(col, "house") == true) and (houseData[getElementData(col, "ID")]["OWNER"] == bagas) then houses = houses+1 if(houses == max_player_houses) then outputChatBox("У вас уже "..max_player_houses.." дома! Продайте один из них, чтобы приобрести новый", thePlayer, 255, 0, 0) return end end end local money = getPlayerMoney(thePlayer) local price = houseData[id]["PRICE"] if(money < price) then outputChatBox("У вас не достаточно денег, нужно еще "..(price-money).."$", thePlayer, 255, 0, 0) return end setHouseData(id, "OWNER", bagas) givePlayerMoney(thePlayer, -price) setAccountData(thePlayer,"owner", id) outputChatBox("Поздравляем! Вы приобрели себе новый дом", thePlayer, 0, 255, 0) setElementModel(houseData[id]["PICKUP"], 1272) setElementModel(houseData[id]["BLIP"], 32) end end end end)
-
Good but that doesn't make it advanced.
-
Indian members - Anubhav - iOm - Mann56 -Mr.Unpredictable -Derp42 -nik2799 -R!$Hu -Khadeer143 - Duckling
-
Any problem if I'm a kid? I fight for justice, not for fun. Then probably mta:sa Team won't ever make a moder for urdu board which is not even pakistani + as you said a "KID" ! ! ! Doesn't matter if you are kid. + I voted for Mr.ShariQ instead of myself. Ignore the first post of mine, I changed it. So
-
A: mez fin' Q: Who are you to tell this? me want proper answer :@
-
Any problem if I'm a kid? I fight for justice, not for fun.
-
triggerServerEvent("saveDataForPlayer", resourceRoot, table)
-
function giveGroove (playerSource, commandName, accountName) if accountName and getAccount(accountName) then aclGroupAddObject (aclGetGroup("GV M"), "user."..accountName) outputChatBox ("[sERVER] Player '"..accountName.."' adicionado com sucesso na Gangue Groove Street", playerSource) outputChatBox ("[sERVER] Você foi adicionado a Gangue Groove Street.", getAccountPlayer(getAccount(accountName))) else outputChatBox ("[sERVER] Conta não especificada.", playerSource) outputChatBox ("Correct syntax: /convidargv [accountName]", playerSource) end end addCommandHandler ("convidargv", giveGroove)
-
getPlayerIdleTime?
-
Store it in a client sided table then trigger it to server then remove the data from the table.
-
O_o, he told me 23 hours then Shariq told me some 1-2 years lol
-
Ok guyz, Bilal is banned on MTA forums for 1-2 years. He is leaving MTA and he is realy tensed about this so he handed this to me. I'll create a topic on it once done. And about my school gamemode, I'll just release the DX Login panel. I must improve myself for that!
-
My vote goes for SharIQ now.