Jump to content

Ballasbuster

Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by Ballasbuster

  1. I start this script but doesn't work.
  2. my resource doesn't work at all
  3. hmm I got this problem too. In host game script with map doesn't work... And you must change map name race-[DD]MapName
  4. Hi guys, I have a lot problems with scritpting . I made script with RemovePlayerFromVehicle , but this resource doesn't work... local policevehicles = { [596]=true, [528]=true, [597]=true, [598]=true, [599]=true, [427]=true, [601]=true, [490]=true, [497]=true, [523]=true } local policeskins = { [280]=true, [143]=true } function enterVehicle ( theVehicle, seat, jacked ) local skinID = getPlayerSkin ( source ) local vehID = getVehicleID ( theVehicle ) if policevehicles[vehID] and not policeskins[skinID] then removePlayerFromVehicle ( source ) outputChatBox ( "You haven't rights.!", source ) end end addEventHandler ( "onPlayerEnterVehicle", getRootElement(), enterVehicle ) local taxivehicles = { [420]=true, [438]=true } local taxiskins = { [20]=true, [143]=true } function enterVehicle ( theVehicle, seat, jacked ) local skinID = getPlayerSkin ( source ) local vehID = getVehicleID ( theVehicle ) if taxivehicles[vehID] and not taxiskins[skinID] then removePlayerFromVehicle ( source ) outputChatBox ( "You haven't rights.!", source ) end end addEventHandler ( "onPlayerEnterVehicle", getRootElement(), enterVehicle ) local mechanicvehicles = { [487]=true, [443]=true, [487]=true, [525]=true, [530]=true, [522]=true, [574]=true, [578]=true, [583]=true } local mechanicskins = { [16]=true, [143]=true } function enterVehicle ( theVehicle, seat, jacked ) local skinID = getPlayerSkin ( source ) local vehID = getVehicleID ( theVehicle ) if mechanicvehicles[vehID] and not mechanicskins[skinID] then removePlayerFromVehicle ( source ) outputChatBox ( "You haven't rights.!", source ) end end addEventHandler ( "onPlayerEnterVehicle", getRootElement(), enterVehicle ) local medicvehicles = { [563]=true, [416]=true } local medicskins = { [274]=true, [143]=true } function enterVehicle ( theVehicle, seat, jacked ) local skinID = getPlayerSkin ( source ) local vehID = getVehicleID ( theVehicle ) if medicvehicles[vehID] and not medicskins[skinID] then removePlayerFromVehicle ( source ) outputChatBox ( "You haven't rights.!", source ) end end addEventHandler ( "onPlayerEnterVehicle", getRootElement(), enterVehicle ) local beervehicles = { [584]=true, [435]=true, [450]=true, [591]=true, [403]=true, [514]=true, [515]=true, } local beerskins = { [202]=true, [143]=true } function enterVehicle ( theVehicle, seat, jacked ) local skinID = getPlayerSkin ( source ) local vehID = getVehicleID ( theVehicle ) if beervehicles[vehID] and not beerskins[skinID] then removePlayerFromVehicle ( source ) outputChatBox ( "You haven't rights.!", source ) end end addEventHandler ( "onPlayerEnterVehicle", getRootElement(), enterVehicle ) local dilervehicles = { [414]=true, [413]=true, [428]=true, [440]=true, [456]=true, [482]=true, [498]=true, [499]=true, [609]=true } local dilerskins = { [143]=true } function enterVehicle ( theVehicle, seat, jacked ) local skinID = getPlayerSkin ( source ) local vehID = getVehicleID ( theVehicle ) if dilervehicles[vehID] and not dilerskins[skinID] then removePlayerFromVehicle ( source ) outputChatBox ( "You haven't rights.!", source ) end end addEventHandler ( "onPlayerEnterVehicle", getRootElement(), enterVehicle ) Please Help me
  5. I mean Widescreen... So you can help me?
  6. I did as you asked, but now I do not show the camera only spawns. ///EDIT Okey , I repair This . And if we can do such a black box?
  7. Good work, thanks. But could you help me with the exception of the hud, radar and chat at the time of the camera?
  8. Ballasbuster

    Matrix

    Hi Dudes, I did a script on camera from the matrix at the entrance to the server. But I do not know how to do this disappeared after logging. Please help fast. function setCameraOnPlayerJoin() fadeCamera(source, true, 2) setCameraMatrix(source, 363.19458007813, -1989.0324707031, 21.265274047852, 31.334917297363, 0, 197) end addEventHandler("onPlayerJoin", getRootElement(), setCameraOnPlayerJoin) Sorry my bad English
  9. Okey , Thanks... But script does not work the way I wanted... On chat: Mefisto#00AA00: message Or: Mefisto: #00AA00message No colors ///Edit I repair This. Topic to close.
  10. Hello Dudes... I'm writing to you ,because i need help. My script is not working... This is code: string message, int messageType function onChat ( message, messageType ) if messageType == 0 then local root = getRootElement() outputChatBox ( getPlayerName ( source ) .. ": #00AA00" .. message, getRootElement(), g_Red, g_Green, g_Blue, true ) cancelEvent() outputServerLog( "CHAT: " .. getPlayerName ( source ).. ": " .. message ) end end addEventHandler ( "onPlayerChat", getRootElement(), onChat ) Please Help Me... (Sorry my bad English...)
  11. you made a www.mtasa.com really good Website
  12. hmm really good script but website has bugs.
  13. I did not find any website on your system. : P
  14. But Im really Castillo's fan ;o Okey I make a gui but what's next ???
  15. Castillo IM YOUR FAN.! YOU ARE THE BEST SCRIPTER. PLEASE HELP ME JasperNL=D Too.
  16. eh Not Real Websites and I understand lua.
  17. if you do not understand that I just want advice ... To Varez: What I mean is that as it enters the marker so it jumps you to monitor icon and there you have a Web and e-mail.
  18. I do not expect you to do this for me ... I ask you only, and you give me any advice on this.
  19. eh My point is that the computer would do the gui but with the picture. And I know a little bit of lua but I have no idea how to go about it. And if you point is that I have some pictures to show the example for how you want it in my opinion? Bad English = Im from Poland...
  20. Good morning, MTA society. I'm totally green in the script, and I want to make a script called "Computer". Can someone help me with this? Sorry my bad english ,but I from Poland ;p
×
×
  • Create New...