scratcher911
-
Posts
105 -
Joined
-
Last visited
Posts posted by scratcher911
-
-
function createLoginWindow
should be:
function createLoginWindow()
-
change
getResourceRootElement( )
to
resourceRoot
-
function damageProof( player, command ) if (isPedInVehicle(player)) then acc = getAccountName(getPlayerAccount(player)) if(isObjectInACLGroup("user."..acc,aclGetGroup("Admin")))then setVehicleDamageProof( getPlayerOccupiedVehicle(player), not isVehicleDamageProof(getPlayerOccupiedVehicle(player)) end end end addCommandHandler("damageproof", damageProof)
didn't test it!
-
Thanks !
-
I have a question.
I saw that you can use
while
in lua
but is it the same as that one in C++( I mean if it refresh in ever Frame Per Second )?
Greets,
ScratcheR
-
Do you have the script in the same resource of gang system. You should use exports if you don't
-
this is some combination of C++ and LUA ?
-
createBlip ( 2412.4985351563, 1124.962890625, 0.8203125, 0,2,0,255,0, 255,0, 99999)
-
You are welcome
-
images = {} for i, index in ipairs (getElementsByType("player")) do images[i] = guiCreateStaticImage(650,30 - 15 + 15 * i,18,16, rank, false, gImage["playerList"]) end function iFalse() for i = 1, getPlayerCount() do guiSetVisible(images[i], false) end end addEvent("iFalse", true) addEventHandler("iFalse", getRootElement(), iFalse) function getPlayerCount() return #getElementsByType("player") end
-
removeWorldModel
You can setElementPosition of the vehicle and player will stay inside I think.
-
for i, playerName in ipairs (getElementsByType("player")) do images[i] = guiCreateStaticImage(650,30 - 15 + 15 * i,18,16, "rank/rank.png", false, gImage["playerList"]) end function iFalse() for i = 1, getPlayerCount() do guiSetVisible(images[i], false) end end addCommandHandler("test", iFalse) local players = 0 function getPlayerCount() for i, playerName in ipairs (getElementsByType("player")) do players = players + 1 end return players setTimer( function() players = 0 end , 100, 1 ) end
You mean this ?
-
but when you type test witch image of 3 you wanna stay open ?
-
guiSetVisible(images, false)
-
I can make some resources for community and you can see my work. OK ?
-
Hi,
I need some money to buy the host for the my future server, so I decided to script for money.
I'm scripting for money for the first time now. I have lot of experience scripting LUA.
Price depends on the difficulty of script.
If you need more information please feel free to ask.
You can also donate me:
Contact:
Skype: scratcher911
Or pm me here.
Greets,
Scratcher
-
You must edit the voice resource. ( witch is originally in server )
-
yes. It's possible.
-
what tab panel ? You mean scoreboard ?
-
outputServerLog
-
https://community.multitheftauto.com/index.php?p=resources&s=details&id=4871
maybe this?
or you mean how to make your own¨?
-
-
-
create blip
in Scripting
Posted
Entity Is right you don't need to have script type. You can only have like this