-
Posts
1,283 -
Joined
-
Last visited
Everything posted by manve1
-
Event handler say's you made it when you leave it, not when you enter it
-
i tested one of functions that require minimum mta version, in console i got output to upgrade it, why don't you try it?
-
because ur using: 'for id, player in ipairs( getElementsByType('player')) do ......' ur getting a table which contains every single player. setTimer( function() if (getPlayerWantedLevel( ) > 0) then local x,y,z = getElementPosition(localPlayer) row = guiGridListAddRow(playerList) guiGridListSetItemText ( playerList, row, column_name, getPlayerName(player), false, false ) guiGridListSetItemText ( playerList, row, column_wanted, getPlayerWantedLevel(player), false, false ) guiGridListSetItemText ( playerList, row, column_area, getZoneName(x,y,z), false, false ) guiGridListSetItemText ( playerList, row, column_city, getZoneName(x,y,z,true), false, false ) guiGridListSetItemText ( playerList, row, column_team, getTeamName(getPlayerTeam(player)), false, false) end end, 1000, 0 )
-
How to create a table which would store all of the maps that server contains ?
-
Is it? didn't know that, as my friend asked me to fix paradise rp script which i though wasn't public, sorry, my mistake then P.S. I don't know where my friend got the paradise rp script from
-
Paradise RP Script isn't made by you as i am sure, that's why you should ask in the server ur in, not in mta forums as we don't help with scripts that ain't yours without permission from maker(s)
-
there is a resource on community that generates a random weapon for a zombie, why don't you just edit that, so it only gives zombies uzi?
-
function dmgm() dxDrawColorText("#ffffffHELLO WORLD Ghostmode is #00ff00ENABLED#FFFFFF!",750,y/20,574.0,20.0,tocolor(200,0,0,255),1,"default-bold","left","top",false,false,false) dxDrawImage (730,y/20,16,16,"icon/icon.png",0,-120) end addEvent("onMapStarting",true) addEventHandler("onMapStarting", root, dmgm) addEvent("onMapStart",true) addEventHandler("onMapStart", root, dmgm) to make it dx stuff like images, texts visible u MUST use 'onClientRender' or any other function that would do the trick of repeating the creation of the dx file
-
make a script and add this in it: for k,v in ipairs( getElementsByType('player') ) do setBlurLevel( v, 0 ) end ^ server side
-
I gave you the stuff of how to create it, if you make it and you have any bugs, or just want something more added, contact me via skype (( you already have me in your skype ))
-
with the script you gave me denny199, i get this error: server trigger clientside event newnmbrvalue, but event is not added clientside Any reasons why?
-
still ain't working (( p.s. the script doesn't fully look like that, as it is re-named a bit ))
-
clientside: number = 0 setTimer( function() number = number + 1 end, 60000, 0 ) serverside: function saveAll( ) local account = getPlayerAccount( root ) if ( account ) then setAccountData( account, 'nbr', number ) end end addEventHandler( 'onResourceStop', getRootElement(), saveAll ) addEventHandler( 'onPlayerQuit', getRootElement(), saveAll ) function giveAll( ) local account = getPlayerAccount( root ) if (account) then getAccountData( account, 'nbr' ) end end addEventHandler( 'onResourceStart', getRootElement(), giveAll ) addEventHandler( 'onPlayerLogin', getRootElement(), giveAll ) I tryed saving number loads of times, but some how it still doesn't work, please post a corrected script file
-
viewforum.php?f=148 take a look
-
take your time, it took me 8months to learn ..
-
ur trying to make it near a vehicles wheel but ur getting position of a player? why not the position of the vehicle a player is in who triggered the command?
-
why would u need full script while problem isn't in whole script? just maybe in one line
-
CMG Hosting [Cheapest seen to the naked eye.]
manve1 replied to toptional's topic in Hosting solutions
First of all you have no right posting here if you up to no good. I know you hate CMG becuase you got kicked as staff. CMG is hosted from another server no it does not lag. I have a dedi in the Netherlands actually at a data center so no it's not my PC! Goodbye Sir. I didn't get kicked, i left after all, it does lagg badly, and yeh, there are hosters that i can find which are cheaper and have no lagg whereever u live. -
addEvent("startJob_trucker", true) addEventHandler("startJob_trucker", root, function (source) --local places = { {"2754", "-2455", "13"}, {"364", "-2026", "7"} } local places = { {"2405","-2093","13"} } local randJob = math.random(1, 1) finishTrucker = createMarker(places[randJob][1], places[randJob][2], places[randJob][3], "cylinder", 2, 255, 0, 0, 150) local blipTrucker = createBlip(places[randJob][1], places[randJob][2], places[randJob][3], 41) outputChatBox(places[randJob][1]) if finish then errorMsg("Deliver this delivery quick!") end end ) addEventHandler("onClientMarkerHit", finishTrucker, function () outputChatBox("KOEKJES") end )
