
Anubhav
Members-
Posts
2,277 -
Joined
-
Last visited
Everything posted by Anubhav
-
I'm not sure how you are telling, but please contact me on skype. If the file is not downloaded then what?
-
Its not the same. Its totally different model!
-
ME DONKEY ME BILAL ME EVERYONE
-
TXD is replaced first. I made the mod downloader but this only the problem. See the table how it downloads files = { { "bus.txd" }, { "bus.dff" }, { 'maccer.txd' }, { 'maccer.dff' }, { "leonre64.txd" }, { "leonre64.dff" } }
-
eeeeeeeeeeeeEeEeEe ME PRO ME DONKEY
-
I don't get what you mean. Please explain!
-
Here you can say happy birthday to people who's birthday is today! Only forum people allowed. I start now. HAPPY BIRTHDAY TO WOOVIE.
-
elseif file == "maccer.dff" then dff = engineLoadDFF ( "maccer.dff", 0 ) engineReplaceModel ( dff, 2 ) elseif file == "leonre64.dff" then dff = engineLoadDFF ( "leonre64.dff", 0 ) engineReplaceModel( dff , 1 ) Bad usage @ 'engineReplaceModel' [Model ID 1 replace failed ] line: 6 Bad usage @ 'engineReplaceModel' [Model ID 2 replace failed ] line: 3
-
~= means not equal to. So the code does this: if player ka zone ( cities enabled ) is not equal to "Los Santos" fir return kardo aur if ko end kardo. Return makes it return false ( in-case-here ). So the function not goes ahead. Its aborted!
-
I did 0.000000000000000000000000000000000000000000000000000000000000001 sec shit in life.. but you mr(s) are very cute. (message no make sense hhhh )
-
Thank you TraniLurese! ---------------------------------------
-
Hello everyone! You must have thought that I'm kicked? Its wrong. See the old topic. I am the original creater and main idea was my and I was cheated. We are still working on this PROPERLY. Now we'll only take some good developers and mappers. He must have stolen the scripts from the test server. Ok so guyz, the MAIN DEVELOPERS are danny and me. Main creator is me. Do you want to join this project? I'll test you. Remember noobs are not accept ( sorry if you are offended, I don't realy mean to say it but I realy don't need newbies. ). Feature list: -- Mod manager ( 100% ) -- SQL ( 100% ) -- Login panel ( 99% ) -- Mods ( 100% ) ( school bus, boy skin, girl skin ) -- Character creater ( 70% )
-
Client - side: function punishPlayer(attacker) if source ~= attacker then cancelEvent() triggerServerEvent("onPlayerPunished", root, attacker) end end addEventHandler("onClientPlayerDamage", root, punishPlayer) Server - side: function onPlayerPunished(player) if getElementZoneName(player, true) ~= "Los Santos" then return end kickPlayer(player, player, "Deathmatching is not allowed!") end addEvent("onPlayerPunished", true) addEventHandler("onPlayerPunished", root, onPlayerPunished)
-
Does the white kinda loading sign appear at south center of screen? If yes then its starting resource for the client ( means you ). You must wait!
-
I din't say that. + Google translator translates EACH WORD and not in CORRECT GRAMMAR!
-
Thanks everyone! @frankvg, If that is realy RP, your work will be added to list!
-
[quote name=..&G:..]Can you tell me what was wrong and how you fixed it please? You looped through a table which had tables inside it and no tag like aclGroup="hi'. So what I did is, when you looped i just added [key]! So it detects the table and get the aclGroup tag value from it.
-
local ignorelist = {} function getPlayerFromPartialName(name) local name = name and name:gsub("#%x%x%x%x%x%x", ""):lower() or nil if name then for _, player in ipairs(getElementsByType("player")) do local name_ = getPlayerName(player):gsub("#%x%x%x%x%x%x", ""):lower() if name_:find(name, 1, true) then return player end end end end addCommandHandler("ignore", function (player, cmd, ignored) if (not ignored) then -- gebruik: /ignore outputChatBox("Usage: /ignore ", player, 200, 200, 200) return end local ignored, name = getPlayerFromPartialName(ignored), getPlayerName(ignored) if (not ignored) then -- Speler bestaat niet outputChatBox("Ignore: Player doesn't exist", player, 200, 200, 200) return end if (ignored == player) then -- Jezelf niet muten outputChatBox("Ignore: You can't ignore yourself", player, 200, 200, 200) return end if (not ignorelist[ignored]) then ignorelist[ignored] = {} end if (not ignorelist[ignored][player]) then ignorelist[ignored][player] = true outputChatBox("* You ignore now ".. name, player, 0, 255, 0, true) else ignorelist[ignored][player] = false outputChatBox("* You do not ignore ".. name .." #00FF00anymore", player, 0, 255, 0, true) end end ) addEventHandler("onPlayerChat", root, function (message, messageType) -- Cancel Event zodat je geen dubbele ignores krijgt cancelEvent() -- naam van schrijver local name = getPlayerName(source) -- Schrijg in log Cancel event weerhoud het van loggen outputServerLog("CHAT ".. name ..": ".. message) -- Stuur bericht if (messageType == 0) then local players = getElementsByType("player") for _, player in ipairs(players) do if (not (ignorelist[source] and ignorelist[source][player])) then outputChatBox(name ..": ".. message, player, 255, 255, 255, true) end end elseif (messageType == 1) then local players = getElementsByType("player") for _, player in ipairs(players) do if (not (ignorelist[source] and ignorelist[source][player])) then outputChatBox("* ".. name .." ".. message, player, 255, 130, 130, true) end end elseif (messageType == 2) then local team = getPlayerTeam(source) if (team) then local players = getPlayersInTeam(team) for _, player in ipairs(players) do if (not (ignorelist[source] and ignorelist[source][player])) then outputChatBox("(Team) ".. name ..": ".. message, player, 255, 255, 255, true) end end end end end )
-
function table.random ( theTable ) return theTable[ math.random ( 1, #theTable ) ] end
-
function getGroups( player ) local g = { } if p[ player ] then for key, value in ipairs( groups ) do if isObjectInACLGroup( "user." .. p[ player ].username, aclGetGroup( value[key].aclGroup ) ) then table.insert( g, value ) end end table.sort( g, function( a, b ) return a.priority > b.priority end ) end return g end