-
Posts
144 -
Joined
-
Last visited
Everything posted by devildead622
-
which is the function for active god mode? and off?
-
how do I change a skin? I'm here with 2 files (.txd and .dff) and I want to change the skin id 287!
-
there animation like one of a shooter? la no br ninguem responde =D
-
sorry, I use google translator! when the player is with an animation, he can shoot a gun?
-
doubt: when using some anin, to use the gun?
-
there is some script/mod that will make it possible to ride lying on the floor?
-
i not have tested!
-
very thanks!very thanks!very thanks!very thanks!very thanks! =D
-
wanna do random messages during game @ Mr.Pres[T]ege, responded very fast ^^²
-
can you explain how to use? =p
-
what function for send message for all in server?
-
I suppose so, I'm not at home to test! = D What do you think?
-
function delvip (playerSource, commandName, accountName) local accName = getAccountName ( getPlayerAccount ( playerSource ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then if accountName then aclGroupRemoveObject (aclGetGroup("Vip"), "user."..accountName) outputChatBox ("ACL: Account '"..accountName.."' succesfully removed as vip.", playerSource) outputChatBox ("ACL: Someone have removed you as admin.", accountName) else outputChatBox ("ACL: No account name specified.", playerSource) outputChatBox ("ACL: Syntax: /delvip [accountName]", playerSource) end end end addCommandHandler ("delvip", delvip) function givevip (playerSource, commandName, accountName) local accName = getAccountName ( getPlayerAccount ( playerSource ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then if accountName then aclGroupAddObject (aclGetGroup("Vip"), "user."..accountName) outputChatBox ("Account '"..accountName.."' succesfully added to the Vip group", playerSource) else outputChatBox ("No account name specified.", playerSource) outputChatBox ("Correct syntax: /givevipfor [accountName]", playerSource) end end end addCommandHandler ("givevipfor", givevip) ?
-
put the command to remove, and placed so that only admins can use, you can check please? function delvip (playerSource, commandName, accountName) local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then if accountName then aclGroupRemoveObject (aclGetGroup("Vip"), "user."..accountName) outputChatBox ("ACL: Account '"..accountName.."' succesfully removed as vip.", playerSource) outputChatBox ("ACL: Someone have removed you as admin.", accountName) else outputChatBox ("ACL: No account name specified.", playerSource) outputChatBox ("ACL: Syntax: /delvip [accountName]", playerSource) end end end addCommandHandler ("delvip", delvip) function givevip (playerSource, commandName, accountName) local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then if accountName then aclGroupAddObject (aclGetGroup("Vip"), "user."..accountName)) outputChatBox ("Account '"..accountName.."' succesfully added to the Vip group", playerSource) else outputChatBox ("No account name specified.", playerSource) outputChatBox ("Correct syntax: /givevipfor [accountName]", playerSource) end end end addCommandHandler ("givevipfor", givevip)
-
had not noticed! Thanks =D
-
Thanks! So will it work? function givevip (playerSource, commandName, accountName) if accountName then aclGroupAddObject (aclGetGroup("Vip"), "user."..accountName)) outputChatBox ("Account '"..accountName.."' succesfully added to the Vip group", playerSource) else outputChatBox ("No account name specified.", playerSource) outputChatBox ("Correct syntax: /givevipfor [accountName]", playerSource) end end addCommandHandler ("givevipfor", givevip)
-
very thanks! =D has some function to add one player to a group? in my case "Vip"
-
yes, after 5 seconds
-
Thanks! And how do I activate a setTimer, after pressing enter, to leave the "veh" (in case the bike/ID:509 that was created) of the function below? function givebike( player ) local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Vip" ) ) then local x,y,z= getElementPosition(player) veh = createVehicle(509, x+1, y, z) warpPedIntoVehicle(player, veh) end end addCommandHandler("bikevip",givebike)
-
Thank you! It was copied the wiki = D But the rest this correct? Also can tell me if there is a function for destroir the vehicle?