Anubhav
Members-
Posts
2,277 -
Joined
-
Last visited
Everything posted by Anubhav
-
Woah I Will surely see this RPG Server. World War 2 realy hard to make and a lot of effort needed. I Hope your server will be good. I Realy want to see it fast.
-
I Wanna play it. It seems cool i love clan wars , turfing and thoose things alot. When will you release?
-
Nah , i meaned you know how to open server that program. Type upgade admin in it.
-
safecol = createColCuboid ( 95.974617004395, 1751.3895263672, 17.640625, 255, 255, 255 ) safeZoneRadar = createRadarArea ( 95.974617004395, 1751.3895263672, 255, 255, 255, 255, 255 ) setElementData (safeZoneRadar, "zombieProof", true) function enterZone(hitPlayer,thePlayer) local skin = getElementModel (hitPlayer) if ( hitPlayer ) then toggleControl (hitPlayer, "fire", true ) toggleControl (hitPlayer, "aim_weapon", true) toggleControl (hitPlayer, "vehicle_fire", true) outputChatBox("You entered the Safe Zone..", hitPlayer, 0, 255, 0) end end addEventHandler( "onColShapeHit", safecol, enterZone ) function leaveZone(hitPlayer,thePlayer) local skin = getElementModel (hitPlayer) toggleControl (hitPlayer, "fire", true) toggleControl (hitPlayer, "aim_weapon", true) toggleControl (hitPlayer, "vehicle_fire", true) outputChatBox("You left the safe area.", hitPlayer, 255, 0, 0) end addEventHandler( "onColShapeLeave", safecol, leaveZone )
-
local team = createTeam("Admin",255,255,255) function team() if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then setPlayerTeam(source,Admin) else cancelEvent() end addEventHandler("onPlayerJoin",thePlayer,team)
-
download the latest version of admin panel. Type upgrade admin in the MTA:BLUE
-
Sorry i can not , please help me without it i can give a picture but not video.
-
As wei said its open source. Socialz made it. You could have PM'ed him about it.
-
https://wiki.multitheftauto.com/wiki/GetRadioChannel https://wiki.multitheftauto.com/wiki/GetSoundLevelData https://wiki.multitheftauto.com/wiki/GetSoundProperties Use theese.
-
It is client sided. play = guiCreateButton (arguments of it) function playClick() getPlayerSerial() spawnPlayer(arguments) end addEventHandler ( "onClientGUIClick", play, false, false ) EDIT: Note: Arguments of it must be there or it won't work/.
-
server.lua addEventHandler ( "onResourceStart", getResourceRootElement(), function ( ) ped = createPed ( 191,2493.623,-1668.179,13.343,90) setPedWeaponSlot (ped,) triggerClientEvent("onPedControl",source) end ) client.lua function triggered() setPedControlState ( ped,fire,true) end addEvent( "onPedControl", true ) addEventHandler( "onPedControl",source, triggered ) You can't use client and server mixed functions.
-
getPlayerSerial --https://wiki.multitheftauto.com/wiki/getPlayerSerial
-
when a player login you can set his data setAccountData and use getAccountData for getting the data of it.
-
Toni012899 , why to post in old topics? Pro spammer.
-
Whats the new error? add me on skype: anubhav.agarwal87 i will fix it on it.
-
createRadarArea for greenZone i think that else idk.
-
go to community.multitheftauto.com , go search thier we wont make for free
-
Eufrat@: you said right but from erado i think he means error. How we can find it . You find by using /debugscript 3
-
aim = guiCreateStaticImage(0.311, 0.454, 0.349, 0.626, "aim.png", true) guiSetVisible(aim, false) addEventHandler("onClientKey", root, function( button, press ) local state = ( not guiGetVisible( aim )) if ( button == "mouse2" ) then guiSetVisible( aim, state ) setTimer(removeImage,1000,0) end end) function removeImage() guiSetVisible( aim, false ) end
-
What do you mean by Erado and aerial problem?
-
Go to community and search.
-
As the gtagasje said. If you think gui is hard to make use GUI editor and else you can do. Theese are some functions u can make. createVehicle setElementData getElementData setVehicleLocked setVehicleEngineState guiCreateWindow guiCreateGridlist guiCreateButton guiGridilistAddRow guiGridlistAddColumn guiGridListGetSelectedItem guiGridListGetItemText addEventHandler addEvent getPlayerMoney takePlayerMoney getAccountName getPlayerAccount