Jump to content

Baseplate

Members
  • Posts

    1,417
  • Joined

  • Last visited

Everything posted by Baseplate

  1. dude when u will stop asking for codes and like that work for it and if u have a problem then we will help u
  2. omg...u should use Classic Skin not default
  3. good suggestion to stop useless posts
  4. dude update to MTA 1.1 and get a better topic
  5. well try to update your drivers give us the dxdiag log
  6. for everyone who have a black screen in MTA 1.1 and u can only connect to your local serverb just change your MTA skin from Custom to Default
  7. Solidsnake14 turn your MTA 1.1 skin from Custom to default
  8. Ok I'll try it EDIT:WORKS NOW! THNXS
  9. no tag_admin:server.lua:35:''expected 'end'
  10. well is there anyway to make it in place of get in the car and get jacked out of it to if he press Enter he can't get in it and show him at a GUI You aren't a Police Officer , you mayn't drive this.
  11. can u give me the hole code please
  12. well I wanna change this code from using Skins ID to Teams Names copVehicles = { [523]=true,[598]=true,[596]=true,[597]=true,[599]=true } copSkins = { [280]=true,[281]=true,[282]=true,[283]=true,[284]=true,[288]=true } function copenterVehicle ( player, seat, jacked ) if ( copVehicles[getElementModel ( source )] ) and ( not copSkins[getElementModel ( player )] ) and ( seat == 0 ) then removePedFromVehicle ( player )--force the player out of the vehicle outputChatBox ( "You aren't a Police Officer , you mayn't drive this.", player ) --and tell the player why end end addEventHandler ( "onVehicleEnter", getRootElement(), copenterVehicle )
  13. Ok thanks to all who helped me
  14. well I have took Puma autoteams and I did some changes is this right? ---------Made by |DGT|Puma-------------- ---------------do not change or touch this---------- Names={} Tags={} Colors={} -------------------------------------------------------------- ---------------------------here put your clans read readme for instructions--------------------------------------- local names ={"FWC Admin"} local tags ={"%FWC%"} local colors ={#fffafa} -------- load------------ function loadTeams() for i,name in pairs(names) do Names[i]=name end for i,tag in pairs(tags) do Tags[i]=tag end for i,color in pairs(colors) do Colors[i] = color end end addEventHandler("onResourceStart",root,loadTeams) --------------------------------------------------- ----- move on start------------------ function moveOnStart() for i,player in pairs(getElementsByType("player")) do check(player) end end addEventHandler("onResourceStart",root,moveOnStart) ------------------------------------------------------------------------- -----------check---------------------------- function check (player) end local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ( "user." .. accName, aclGetGroup ( "Admin" ) ) then setPlayerTeam(player,nil) for i,tag in pairs(tags) do if string.find(getPlayerName(player),tag) then local name = Names[i] local color = Colors[i] if not getTeamFromName(name) then createTeam(name,getColorFromString(color)) end local team = getTeamFromName(name) setPlayerTeam(player,team) end end -------------------------------- ----------remove Empty Team ---------- function remove() for t,teams in pairs(names) do local team = getTeamFromName(teams) if team then if countPlayersInTeam ( team )==0 then destroyElement(team) end end end end ----------------------------------------------------- -------NickChange------------- function nick(old,new) setTimer(check,1000,1,source) setTimer(remove,1500,1) end addEventHandler("onPlayerChangeNick",root,nick) --------------------------------------------- -------Join-------------------------------- function join() setTimer(check,4000,1,source) end addEventHandler("onPlayerJoin",root,join) ------------------------------- ---------Quit--------------------- function quit(player) setTimer(remove,1000,1) end addEventHandler("onPlayerQuit",root,quit) ------------------------------------
  15. Baseplate

    Objects

    dude?? I don't remmeber that SAMP 0.3 objects are in MTA
  16. add a column in the dxscoreobard do isObjectInACLGroup ("Admin") and like that
  17. I even can't script dude but wiki.multitheftauto.com help a lot it have everything related to MTA Scripting
  18. dude try them all and search for those functions
×
×
  • Create New...