-
Posts
10,056 -
Joined
-
Days Won
27
Everything posted by iPrestege
-
int getPedTotalAmmo ( ped thePed, [ int weaponSlot = current ] ) it's not a weapon first argument is the ped.
-
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
-
change the distance from 10 to something lower.
-
سكربت جميل ومميز يعطيك العافية
-
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!
-
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 )
-
المواصفات
- 1 reply
-
- 1
-
Change getRootElement in the all client triggers with 'triggerClientEvent' with client instead .
- 5 replies
-
- gui
- graphical user interface
-
(and 3 more)
Tagged with:
-
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?
-
Is there any messages appear in the chat box? Please post your meta.xml file.
-
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
-
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.
-
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.
-
Maybe this will help?
-
Tapleto-Host| Linux/Windows VPS - Game Servers - TeamSpeak
iPrestege replied to TAPL's topic in الاستضافات
@TAPL هل يا ترى تعلمني كيف انصب الخادم لاني نسيت -
جميل استمر .. بالتوفيق
-
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.
-
السلام عليكم ورحمة الله وبركاته للأسف الاستضافة اللي اتعامل معها الغت السيرفرات وحطت خوادم فقط لذلك ديلوكس لو خذت الماني هل يا ترى الدعم عربي وفاشل؟ ولا بس عالعربي هو المشاكل؟
-
You have to use the source code of isPedAiming useful function.
-
Mta servers is no longer available? Because when i press game servers redirect me to another site ;s. @Mr_Moose
- 17 replies
-
- 1
-
- ssd vps
- dedicated servers
-
(and 5 more)
Tagged with:
-
mtasa.com بالنصف download وتأكد من نسخة ويندوزك اذا اكس بي اختار اكس بي اذا 7 وفوق اختاره وثبت وجرب