Jump to content

Evil-Cod3r

Members
  • Posts

    370
  • Joined

  • Last visited

Everything posted by Evil-Cod3r

  1. wtf if iam admin and i give myonlake Health i want outputChatBox("adminName.. Has given .. sourceName .. Value") all playes see the msg
  2. no castillo if you team 1 and i team 2 i give my self health with out you know i want script that show if i give my slef health to all players or i give health to any player for example if you hit me +50 i give my slef with admin panle +50 health i want outputChatBox("evil-coder.. teamName .. "Has Give himself health (he Cheat )
  3. you dont got me if you have team name s1 and i have team s2 we play in my server i have cheat i give my players health you dont know i want make a script to let you know what i did
  4. not that what i mean i mean if you team got spar with another team in another server there some player in there own server give there firnds health i want make a script get admin name and source name and how mutch value of health has give his frind
  5. Evil-Cod3r

    question

    Hi i want to make script that if admin has set any player health to 20 or any value show in chatBox get the admin name and the player who given health with value like outputChatBox("mta .. Has Set .. playerName .. Health to .. value") what is the functions and event i want try to make it my self
  6. i start the script not work and no errors
  7. its say client triggerd server side but event is not added to server side !
  8. i alredy try i remove all the tabel and make it { "sniper.txd"} only not work and no errors
  9. so i rename it all to txd and dff ??
  10. Hi all i want make a script that check the Players skin and cars if they was original then he can play else kill him or kick him with msg "Not allowed to Remove tha original Files Please restor it to play" checkModels = {" 602, 545, 496, 517, 401, 410, 518, 600, 527, 436, 589, 580, 419, 439, 533, 549, 526, 491, 474, 445, 467, 604, 426, 507, 547, 585, 405, 587, 409, 466, 550, 492, 566, 546, 540, 551, 421, 516, 529, 485, 552, 431, 438, 437, 574, 420, 525, 408, 416, 596, 433, 597, 427, 599, 490, 432, 528, 601, 407, 428, 544, 470, 598, 499, 588, 609, 403, 498, 514, 524, 423, 532, 414, 578, 443, 486, 515, 531, 456, 455, 459, 543, 422, 583, 482, 478, 605, 554, 530, 418, 572, 582, 413, 440, 536, 575, 534, 567, 535, 576, 412, 402, 542, 603, 475, 441, 564, 568, 424, 504, 495, 457, 483, 508, 71, 500, 429, 411, 541, 559, 415, 61, 480, 560, 562, 506, 565, 451, 434, 558, 494, 555, 502, 477, 503, 579, 400, 404, 489, 505, 479, 442, 458, 45, 18, 10, 62, 162, 23, 29, 49, 46, 53, 60, 97, 108, 123, 137, 160, 170, 188, 212, 230, 285 "} function handleOnPlayerModInfo ( filename, modList ) for _,mod in ipairs(modList) do for _,checkName in ipairs(checkModels) do if mod.name == checkName then killPed(source) outputChatBox ( "Not allowed to used modified weapons. Please restore The original" .. filename ) else outputChatBox("You Ped Model is Clean Enjoy Playing") end end end end addEventHandler ( "onPlayerModInfo", getRootElement(), handleOnPlayerModInfo )
  11. https://wiki.multitheftauto.com/wiki/Cli ... _functions
  12. why dont you make it gui ??
  13. i think i start learn first becuse its hard thing
  14. and how to use it Kenix ? but it in meta with my script ?
  15. SoldSnake can i make some Anminon for the Text ?? like flashing for 8 sec and the destroy ?
  16. i dont think guiCreateFont work for mta 1.3 i fixed it another way thanks all
  17. Hi all i made this but the font not work ! addEvent("Enter",true) addEventHandler("Enter",getRootElement(), function(name) if isElement(jon) and isElement(p_name) then restTimer(pn) restTimer(jn) guiSetText(p_name,tostring(name)) else jon = guiCreateLabel(14,197,38,14," Joined: ",false) p_name = guiCreateLabel(59, 198, 227, 17,tostring(name),false) pn = setTimer(destroyElement,22000,1,p_name) jn = setTimer(destroyElement,22000,1,jon) end end) function start () myFont = guiCreateFont( "font/20.ttf", 12 ) guiSetFont( jon, myFont ) else destroyElement( myFont ) myFont = nil end end end addEventHandler("onClientResourceStart",getRootElement(), start )
  18. at least help me a litel with it
  19. Evil-Cod3r

    Help

    Why my code is worng explane it for me please
  20. Like this to get Players Name ? GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Edit = {} GUIEditor_Grid = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(448,181,569,320,"Msg_System By Dev-PoinT",false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_TabPanel[1] = guiCreateTabPanel(9,21,551,290,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) GUIEditor_Grid[1] = guiCreateGridList(3,7,292,277,false,GUIEditor_Tab[1]) guiGridListSetSelectionMode(GUIEditor_Grid[1],2) local they = guiGridListAddColumn(GUIEditor_Grid[1],"Players",0.2) if ( they ) then for id, playeritem in ipairs(getElementsByType("player")) do guiGridListSetItemText ( GUIEditor_Grid[1], row, they, getPlayerName ( playeritem ), false, false ) GUIEditor_Button[1] = guiCreateButton(343,242,167,35,"Send !",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Button[1],"clear-normal") GUIEditor_Edit[1] = guiCreateEdit(299,181,249,59,"",false,GUIEditor_Tab[1]) GUIEditor_Image[1] = guiCreateStaticImage(319,25,208,146,"images/msg.png",false,GUIEditor_Tab[1])
  21. Simple Msg He Select Player He want and type the msg and press send ! and the msg go to player !
  22. Hi i just created this but what is the functions and event to Complete this script ? GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Edit = {} GUIEditor_Grid = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(448,181,569,320,"Msg_System By Dev-PoinT",false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_TabPanel[1] = guiCreateTabPanel(9,21,551,290,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) GUIEditor_Grid[1] = guiCreateGridList(3,7,292,277,false,GUIEditor_Tab[1]) guiGridListSetSelectionMode(GUIEditor_Grid[1],2) guiGridListAddColumn(GUIEditor_Grid[1],"Players",0.2) GUIEditor_Button[1] = guiCreateButton(343,242,167,35,"Send !",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Button[1],"clear-normal") GUIEditor_Edit[1] = guiCreateEdit(299,181,249,59,"",false,GUIEditor_Tab[1]) GUIEditor_Image[1] = guiCreateStaticImage(319,25,208,146,"images/msg.png",false,GUIEditor_Tab[1])
  23. Evil-Cod3r

    Help

    function setAdminVehicleColor() for i, car in ipairs( getElementsByType( "vehicle" ) ) do if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Admin")) then local color = {} color[1] = math.random(0,126) color[2] = math.random(0,126) color[3] = math.random(0,126) color[4] = math.random(0,126) setVehicleColor ( car, color[1], color[2], color[3], color[4] ) end end end addEventHandler("onPlayerLogin",getRootElement(),setAdminVehicleColor) Updated !
×
×
  • Create New...