Jump to content

TheRealCow

Members
  • Posts

    64
  • Joined

  • Last visited

Everything posted by TheRealCow

  1. killPlayer(player) setElementHealth(getLocalPlayer, 0) is is necessary and why u get local player ? function hotWater ( player ) setTimer ( hotWater, 1000, 1 ) if isElementInWater(player) then vehicle = getPedOccupiedVehicle(player) if vehicle then local x, y, z = getElementPosition(player) createExplosion (x, y, z, 4, player) killPlayer ( player ) else end else killPlayer ( player ) end end addEventHandler ( "onResourceStart", getRootElement(), hotWater ) no idea does it work
  2. TheRealCow

    snip

    that wont be true, he can't fnd here free scripters.. maybe i want EDIT: ye, i want that but if u want me.. then contact me..
  3. TheRealCow

    Image

    hmm like the image u place on gui.. but is it possible to write it in map ? like on some house or wall ?
  4. TheRealCow

    Image

    Hi is it possible to create image to the map, like in to wall. i think it is because is see it one time in pcp i think thx
  5. Syntax ban addBan ( [ string IP, string Username, string Serial, player responsibleElement, string reason, int seconds = 0 ] ) Note: One of the three: IP, Username or Serial have to be specified. Required Arguments IP: The IP to be banned. If you don't want to ban by IP, set this to nil. or Username: The username to be banned. If you don't want to ban by username, set this to nil. or Serial: The serial to be banned. If you don't want to ban by serial, set this to nil. or any combination. Optional Arguments NOTE: When using optional arguments, you must supply all arguments before the one you wish to use. For more information on optional arguments, see Optional Arguments. responsibleElement: The element that is responsible for banning the IP/username/serial. This can be a player or the root (getRootElement()). reason: The reason the IP/username/serial will be banned from the server. seconds: The amount of seconds the player will be banned from the server for. This can be 0 for an infinite amount of time. it should be this ( i think ) : function banNoobSerial( serialToBan ) if ( serialToBan ) then addBan( nil, nil, serialToBan, source, "Bye bye" ) outputChatBox ( "C-Panel: " .. serialToBan .. " was successfully Banned.", source, 34, 35, 250 ) else outputChatBox ( "C-Panel: Invalid serial", source, 255, 12, 15 ) end end hope i helped
  6. you should use more wiki.. and debug.. not always come to forum..
  7. TheRealCow

    Leader

    What's the point of this topic
  8. in server-side : function hudChanger () showPlayerHudComponent ( source, "radar", false ) end addEventHandler ( "onPlayerJoin", getRootElement(), hudChanger ) Meta : <meta> <info author="mR|TurboCow" /> <script src="huds.lua" type="server" /> </meta> wiki's one, and tested... it works.. For me
  9. Woppa i'm admin there ( real name is "mR|TurboCow" )
  10. https://wiki.multitheftauto.com/wiki/ShowPlayerHudComponent
  11. You can't replace they. But if u make a script of this, then its realy nice
  12. in debug should show that ? use /debugscript 3 too
×
×
  • Create New...