Jump to content

tim260

Members
  • Posts

    157
  • Joined

  • Last visited

Everything posted by tim260

  1. hallo mensen ik snap niet zoveel van lua en ik vroeg me af of iemand me wou helpen met deze resource : https://community.multitheftauto.com/index.php?p= ... ls&id=1152 ik wil graag een class niet toegangkelijk maken bij sommige mensen door de ACL groep the krijgen dus b.v. als ze militair spawnen dan ze dan in Military ACL groep moeten zitten weet je iemand hoe je dat maakt ? moet het met deze functie : ? isObjectInACLGroup
  2. Im going to give up i cant figure it out, its to hard for me for you its easy thought not for me but thanks
  3. engineImportTXD ( skin, 22 ) you didnt define the file in that line it has to be : engineImportTXD ( skins/22.txd, 22 )
  4. Not for this resource though EDIT: look at it for yourself would you manage that if you've never scripted a whole script before ?
  5. yeah i know i think to use this isObjectInACLGroup but im a noob scripter just started learning and dont know wich file to edit EDIT: there are many files in that zip in my eyes nothing makes sense yk, so if aynbody could help me
  6. i am using this resource : https://community.multitheftauto.com/index.php?p= ... ls&id=1152 and im wondering how to restrict a class by getting acl group, or if its possible then. Can someone help me
  7. i changed it later aibo before it was that other one so do not FFS just do normal man
  8. you got that from a other topic mate you didnt make it yourself ; )
  9. Fine i will take a look again after i cleaned up my room lol EDIT L to let you know: this is the car where is it about : "vehicle-bullet" paintjob="3" model="541" plate="Y799UHE" interior="0" dimension="0" color="54,14,0,0" posX="2099" posY="2479.5" posZ="10.5" rotX="0" rotY="0" rotZ="179.99462890625">
  10. Yeah if you know a way tell me mate , but you say lock and with what you lock acl group, team, skin ?
  11. Still can you help me with the script for restricting one car ? i had to use getElementByID right ? im gonna make a script ( TRY to make ) you can see whats wrong then EDIT oh btw whats wrong with this one : dealerVehicles = { ["vehicle (Bullet) (1)"] = true } dealerTeams = { [29] = true } function dealerenterVehicle ( player, seat, jacked ) if ( dealerVehicles[getElementID(source)] ) and ( not dealerTeams[getElementModel(player)] ) and ( seat == 0 ) then outputChatBox ( "You aren't dealer , you can't drive this.", player) --and tell the player why cancelEvent() end end addEventHandler ( "onVehicleStartEnter", getRootElement(), dealerenterVehicle )
  12. trolol i changed the coords and skins the same now thanks for helping me kimmis i own you something lol
  13. I downloaded this but when i do /addgang [FBI]tim260[HQ] it doesnt work how to fix ?
  14. Yeah it gives me the colshape ! so whats wrong then
  15. i think so im not pro yk any comments ?
  16. thats something i edited later nvm that, its just ( even when the skins are the same ) not opening
  17. Please explain this furhter i dont understand in the mean while why is this script not working the gate is created but not moving gate1 = createObject ( 980, 2061.8999023438, 2464.8000488281, 12.60000038147, 0, 0, 180.24719238281 ) col = createColCircle ( 2061.8999023438, 2464.8000488281, 12.60000038147, 7 ) function opena51gates(thePlayer) if getElementModel( thePlayer ) == 71 then moveObject (gate1, 3000, 2061.8999023438, 2464.8000488281, 17.200000762939 ) end end addEventHandler( "onColShapeHit", col, opena51gates ) function closea51gates(thePlayer) if getElementModel( thePlayer ) == 29 then moveObject (gate1, 3000, 2061.8999023438, 2464.8000488281, 12.60000038147 ) end end addEventHandler( "onColShapeLeave", col, closea51gates )
  18. I mean like there is a bullet in the base of the speed demons clan the id of the bullet is " vehicle (Bullet) (1)" and the acl group of this clan is called dealers i want the car (" vehicle (Bullet) (1)") only able to enter by the dealers acl group of if not possible with acl with skin. but not ALL bullets only that ONE, so vehicle (Bullet) (1)
  19. Not posssible thats a lie The server SAES:RPG is using it
  20. Can i do like restrict the car to one person and the car id in my map file is : vehicle (Bullet) (1) and only the persons in the skin 29 dealerVehicles = { vehicle (Bullet) (1)]=true} dealerTeams = {[29]=true} function dealerenterVehicle ( player, seat, jacked ) if ( dealerVehicles[getElementModel ( source )] ) and ( not dealerTeams[getElementModel(player)] ) and ( seat == 0 ) then outputChatBox ( "You aren't dealer , you can't drive this.", player ) --and tell the player why cancelEvent() end end addEventHandler ( "onVehicleStartEnter", getRootElement(), dealerenterVehicle )
  21. What im trying to do is a restricted area, how do i create it like a red zone on the map so if you press F11 you'll see a bayside is colored red ( bayside is a nuclear testing area in my server and also a military base ) so can some one explain me. oh yeah and also when they enter it it has to say "You've entered a restrictec area, the authority''s are alerted." and last but not least, it has to be shown to everyone exept people in ACL group "Military". Tanks in advance Greetz, Tim EDIT: this is to create the zone : "" posY="" sizeX="" sizeY="" color="" dimension=""/> ??
  22. he community poeple , i was wondering if i make a acl group called "Military" can i make a command that only that people can use in fact the command i was thinking about = "/mduty" when they do that there military skin should be turned on and there has to be a message "You are now on duty" and ofcorse the other command "/moffduty" self explanatory i think ;p. Can someone tell me the functions etc i have to use or send me a partal script so i can edit it im new to scripting so its all still a bit had for me Thanks in advance for helping
×
×
  • Create New...