Jump to content

ABu-ALi_

Members
  • Posts

    22
  • Joined

  • Last visited

Details

  • Gang
    H~9

ABu-ALi_'s Achievements

Civilian

Civilian (7/54)

0

Reputation

  1. hi all i try to make script bad words but not working this code server: function BadWords ( message, messageType ) if message == fuck then setPlayerMuted(source, true) outputChatBox ( getPlayerName ( source ).." has mute bad words", getRootElement(), 255, 255, 0, true ) end end addEventHandler ( "onPlayerChat", getRootElement(), BadWords ) if player say 'fuck' he will mute but this code not working please help me
  2. yes i know but not working i add this code in confg.xml <!-- <team name="[H~9]~Members" color="#FF0000" tag="[H~9]" aclGroup="Admin" /> --> but not working please help me
  3. hi all i dont know how do script autoteam please tell me how do it this script: https://community.multitheftauto.com/index.php?p= ... ils&id=612 please help me
  4. thankk you UAEpro and Citizen ...
  5. i try but not found errors please help me
  6. hi all I tried to work the next map in race , but not working this client code : function set1( ) selectedRow, selectedCol = guiGridListGetSelectedItem( mapGridList ) gridMapName = guiGridListGetItemText( mapGridList, selectedRow, selectedCol ) guiSetText( mapNameEdit, gridMapName ) end addEventHandler( "onClientGUIClick", mapGridList, set1 ) and : function onGuiClick (button, state, absoluteX, absoluteY) if (source == buyButton) then map = guiGetText ( mapNameEdit ) triggerServerEvent ("buyMap", getLocalPlayer(), map) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) Server code : function NextMap(map) if checkClient( true, source, 'NextMap', map ) then return end executeCommandHandler("nextmap", source, map) end addEvent("buyMap", true) addEventHandler("buyMap", getRootElement(),NextMap) please help me
  7. its working thankk you man you the best
  8. hi all i want , If the player select the name of the map shows the name of the map in edit i try but not working this code client : mapGridList = guiCreateGridList(7,12,183,270,false,tab6) mapsColumn = guiGridListAddColumn(mapGridList,"Maps List",0.85) guiGridListSetSelectionMode(mapGridList,2) mapNameEdit = guiCreateEdit(280,25,140,29,"",false,tab6) guiEditSetReadOnly(mapNameEdit,5) and: addEvent("sendMaps", true ) function sendmaps(name) row = guiGridListAddRow ( mapGridList ) guiGridListSetItemText ( mapGridList, row, mapsColumn, name, false, false ) end addEventHandler( "sendMaps", getLocalPlayer(), sendmaps, set ) function set ( ) selectedRow, selectedCol = guiGridListGetSelectedItem( mapGridList ) gridMapName = guiGridListGetItemText( mapGridList, selectedRow, selectedCol ) guiSetText ( mapNameEdit, gridMapName ) end please help me
  9. its working thankkk you man but , Can you change it and make it appear only maps race ?
  10. i dont know how if you can help pleasee help plz
  11. this my client code : function sendmaps(name) mapGridList = guiCreateGridList(7,12,183,350,false,tab6) mapsColumn = guiGridListAddColumn(mapGridList,"Maps",0.85) guiGridListSetSelectionMode(mapGridList,2) for id, name in ipairs(maps) do row = guiGridListAddRow ( mapGridList ) guiGridListSetItemText ( mapGridList, row, mapsColumn, name, false, false ) end addEventHandler( "sendMaps", mapGridList, sendmaps ) but , this code not working please help me ...
×
×
  • Create New...