Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Days Won

    27

Everything posted by iPrestege

  1. int getPedTotalAmmo ( ped thePed, [ int weaponSlot = current ] ) it's not a weapon first argument is the ped.
  2. So you don't want to spawn the player when he join the game?
  3. https://community.multitheftauto.com/index.php?p=resources&s=details&id=13886 https://community.multitheftauto.com/index.php?p=resources&s=details&id=13885 Car mods ;s
  4. change the distance from 10 to something lower.
  5. Actually it's pretty easy there's no need to use an event just defined your function with your stuff you want to do here's how it should like : {'chk', id='DisableWarp', text='Disable Warping', onclick=DisablWarpCallFunction}; function DisablWarpCallFunction ( ) -- Your stuff end; -- Good luck!
  6. addEventHandler ( 'onPlayerWasted',root, function ( ) if getPlayerTeam ( source ) and getPlayerTeam ( source ) == getTeamFromName ( 'No Team' ) then spawnPlayer( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) end end )
  7. قسم الاكواد في اكثر من ملف كم سطر السكربت ؟
  8. Change getRootElement in the all client triggers with 'triggerClientEvent' with client instead .
  9. Try to change the marker position some times it's about that or make the size bigger there's no message for the event in the chat box that it has been triggered?
  10. Is there any messages appear in the chat box? Please post your meta.xml file.
  11. I'm pretty sure that's you can't see the marker or something wrong because you didn't set the alpha in the marker for the color. You are missing that part in here : createMarker( float x, float y, float z [, string theType = "checkpoint", float size = 4.0, int r = 0, int g = 0, int b = 255, int a = 255, visibleTo = getRootElement( ) ] ) Maybe it's not causing the problem but you can try the following : In the server side : -- Server local missionMarker = createMarker ( 2153,-1799,12.5,'cylinder',1,255,255,0,255 ); addEventHandler ( 'onMarkerHit',missionMarker, function ( aPlayer ) if aPlayer and getElementType ( aPlayer ) == 'player' then triggerClientEvent ( aPlayer,'aRequestVisible',aPlayer ); end end ); Client : missionName = guiCreateLabel ( 0.64,0.85,0.38,0.13,'sweet buisness',true ); guiSetFont ( missionName,guiCreateFont ( ':freeroam_login/images/gtasanandreas.ttf',50 ) ); guiLabelSetColor ( missionName,252,226,81 ); guiSetVisible ( missionName,false ); outputChatBox ( 'Data in the client has been created' ); addEvent( 'aRequestVisible',true ); addEventHandler ( 'aRequestVisible',root, function ( ) if guiGetVisible ( missionName ) then return outputChatBox ( 'The missionName is already visible !' ) end; guiSetVisible ( missionName,true ); outputChatBox ( 'Data in the client has been request and triggred!' ); end ) @swag_k_dog
  12. More info would be great because you are asking for unknown thing i don't understand that but maybe a script in your server is doing this.
  13. iPrestege

    Gate help

    I'm not sure how you can check the group in dayz but i guess something like this : if getElementData ( player,'Group' ) == 'MyGroup' then -- Open and close. @Tekken Maybe you can confirm the way that what method is dayz doing to check the group.
  14. @TAPL هل يا ترى تعلمني كيف انصب الخادم لاني نسيت
  15. You have to make sure that the player is logged in and not a guest then check if the data exists in the player account and return end or whatever.
  16. السلام عليكم ورحمة الله وبركاته للأسف الاستضافة اللي اتعامل معها الغت السيرفرات وحطت خوادم فقط لذلك ديلوكس لو خذت الماني هل يا ترى الدعم عربي وفاشل؟ ولا بس عالعربي هو المشاكل؟
  17. You have to use the source code of isPedAiming useful function.
  18. Mta servers is no longer available? Because when i press game servers redirect me to another site ;s. @Mr_Moose
  19. mtasa.com بالنصف download وتأكد من نسخة ويندوزك اذا اكس بي اختار اكس بي اذا 7 وفوق اختاره وثبت وجرب
×
×
  • Create New...