-
Posts
168 -
Joined
-
Last visited
Everything posted by Vanlot
-
You need to export that event from the Level system you got.
-
Darkwarrior Diesel , Slothbot is just a resource which allow you to do anything with peds and you gonna script that, not the resource. for more informations read this : https://community.multitheftauto.com/index.php?p=resources&s=details&id=672 @Anubhav setPedOnFire this function will burn the player,it will not let him attack other peds
-
"onElementColShapeHit" "addCommandHandler" setBotFollow setBotHunt spawnBot You need to have Slothbot resource to use the functions above
-
I think that you have to increase the values a bit.
-
Ab3eth Message lel Host Technical Support.
-
3ayech fi tounes rak
-
function MarkerHit( hitElement, matchingDimension ) myMarker = createMarker(x,y,z, 'cylinder', size, r, g, b, alpha) if getElementType(hitElement) == 'Vehicle' then thePlayer = getVehicleController (hitElement) givePlayerMoney(thePlayer,amount) end end addEventHandler( "onMarkerHit", myMarker, MarkerHit ) addEventHandler( "onMarkerLeave", myMarker, function () destroyElement(myMarker ) end ) setTimer(MarkerHit,600000,0)
-
المفروض انو كل ستاف يشوف الميساج لكن كل الاشخاص تشوفو function getOnlineStaff(removeHEX) local players = { }; for i, v in pairs(getElementsByType'player') do if hasObjectPermissionTo(v, 'function.setPlayerMuted',true) then table.insert ( players, v); end end return players; end addEvent("onAdminCall",true) addEventHandler("onAdminCall",root, function (newname) local staff = {} for i, v in pairs(getOnlineStaff()) do outputChatBox( newname.." need help.Please contact the player", v, 255, 255, 0, true) end end )
-
You gonna the following functions: guiCreateWindow guiCreateButton guiCreateMemo or guiCreateLabel "onClientGUIClick" createMarker createBlipAttachedTo setElementVisibleTo givePlayerMoney destroyElement "onMarkerHit" "onMarkerLeave"
-
You can post your script and we will try to help you, or you can download a script from MTA Community https://community.multitheftauto.com/in ... =resources
-
police = getPlayerTeam (localPlayer) if getTeamName(police) == "Police" then
-
use the following functions : guiCreateButton triggerServerEvent the first one in order to create the gui button and the second to trigger the event from client to server side
-
Change line 63 with this local playerTeam = getTeamName(getPlayerTeam ( getLocalPlayer ( ) ))
-
Rabi m3ak(om)
-
Keep in your mind that you server needs to be unique, because most of mta roleplay servers are copies from vG (exceptions). You need to start working on the gamemode which the basic of your server.Try to have a quick look on some rp servers that may help you aswell.
-
Thanks for the note . it's fixed
-
I was trying to make a script for a spawner with gui.I should write the name of the wanted vehicle in the blank, then press a button, this will result in a marker creation,if the player hit that marker, he will get that vehicle. Everything working fine, but i want the player to warp to the vehicle which is not happening addEvent("VehicleSpawn",true) addEventHandler("VehicleSpawn",root, function (TheVehicleName,x,y,z) marker = createMarker(x+1,y,z-1,"cylinder",1.5,0,255,0,255) addEventHandler("onMarkerHit",marker, function (hitElement) if (source == marker) then if getElementType( hitElement ) == 'player' then RaceVehicle = createVehicle (tonumber(TheVehicleName), x+5,y,z) . warpPedIntoVehicle(hitElement ,RaceVehicle) end end end) end )
-
Nchalla lkolou 5ir
-
[TN] Tunisian Theft Auto | الأول خادم التونسي
Vanlot replied to WASSIm.'s topic in Maghrebi Arabic / Darija / الدارجة
LoooL, Bech traj3ou GTA 5? ti el owner Malek wala medri ech esmou, 7kit m3ah chway 3tani Mute