
TheCapn
Members-
Posts
87 -
Joined
-
Last visited
Everything posted by TheCapn
-
Well I want to play this animation. There is no function that could put back the normal standing of the player ?
-
And which function would I use in the setTimer ?
-
Hello guys, I'm using an animation when a player talks, but at the end of the animation the player keeps his arms straight long to his body, and move like a robot. I have to "fire" in order to break this freeze. Do you know how can I fix it ? Here's my code function sayHandler( message, msgType ) ... setPedAnimation( source, "PED", "IDLE_CHAT", 1, false, true, true, true, false ) ... end addEventHandler( "onPlayerChat", getRootElement(), sayHandler )
-
It's working, thank you.
-
Nothing works, either on client side and server side. I think the "onWeaponFire" event is buggy ..
-
Hello guys, I would like to make a system that prevent a player to fire if there is only one bullet left in his current weapon. According to you, should I use "onClientRender" or "onWeaponFire" to handle this system ? Regards,
-
Yes, that's what I've done by now but I was in fact wondering if there were a quicker way to do it x) But no, too bad
-
Hello guys, I am currently using the guieditor mod in order to create my different gui - interface. However, I was wondering if there was another tool that was more focused on the dx functions because on guieditor, there is no possibility to create dx elements based on relative screen size. So I will be grateful If you guys could help me on this point. Regards, TheCapn
-
Hello guys, Before all, let me introduce my self. My name is Pierre, I'm a 17-years-old french student and I'm currently working on a french roleplay server. As I'm writting this line, the core of the server is at this stage : Authentifcation system is done - Your forum and Ingame account is the same, and you can choose different characters Level system is done - You can pass level by playing a certain number of hours depending of your current level, etc ... Admin system is done - Different admin ranks, with a large panel of possibilites in order to manage the server as well as possible. Currently working on the house system - Possibility to buy several houses, to rent somes, to define a specific rent etc ... However, I'm seeking a mapper in order to make the differents mappings of our server, such as the penitenciary, the hospital, city hall etc ... If you are interested, please let me know it by MP Regards, TheCapn
-
Anyone has an idea ?
-
Bonjour, On a tous des gros projets. On ne sait rien de ton projet. C'est à toi de l'exposer ici. Et puis, le but de ce forum est d'apprendre soi-même à coder. Ce n'est pas QUE une plateforme de recrutement, c'est surtout une plateforme d'apprentissage.
-
In fact it's working now but I really don't know how the damage are working. Because when I set at poor level the damage of the desert eagle to 70 (original damages), the ped only loose 23 hp ... Do you know how the calculation is done ?
-
Hello, I'm facing an issue. I try to change the desert eagle damage, with this code function setWeaponStat( player, command ) setWeaponProperty(24, "poor", "damage", 100) setWeaponProperty(24, "std", "damage", 100) setWeaponProperty(24, "pro", "damage", 100) end addEventHandler( "onResourceStart", resourceRoot, setWeaponStat ) And currently it's not working in-game, the damages aren't changed. Do you know where the issue could come from ? Regards,
-
Il n'y a pas de fonction réelle qui permettrait ça. Après, tu peux jouer avec getPedWeaponSlot setWeaponAmmo setPedWeaponSlot Et jouer avec une table weaponSlots = {} Cordialement,
-
Hello guys, I realize that when we were using the PHONE animation, there was no phone that was held in the hand of the ped. I was wondering how it was possible to put a phone in the hand of the ped using this animation ? Regards,
-
Oui, après à toi de faire des calculs mathématiques pour ajuster en fonction de la rotation getElementPosition getElementRotation ... devraient t'aider
-
Salut ma2med, Tu peux utiliser la fonction suivante : createObject La fonction prend quatre arguments principaux : l'Id de l'objet, l'abscisse, l'ordonnée et la cote du point où l'objet est créé ( qui sont trois arguments ) Vu que tu sembles nouveau, je vais t'aider un peu ! Lis bien le code, et assimile le. Il n'y a rien de compliquer. -- On déclare la fonction qui prend comme argument le joueur qui effectue la commande, et la commande en elle même function addObjectHandler( player, command ) local x, y, z = getElementPosition( player ) -- On recupère la position du joueur x = x + 2 -- On augmente l'abscisse de deux pour que l'objet soit créé à proximité du joueur createdObject = createObject( 520, x, y, z ) -- On prend 520 pour l'exemple mais tu peux prendre l'ID de l'objet que tu veux if createdObject then -- Si l'objet a correctement été créé, alors ... outputChatBox( "Vous avez créé un objet à proximité de votre position ! ", player ) -- On envoie un message au joueur else -- Sinon ... outputChatBox( "Votre objet n'a pas pu être créé ! ", player ) -- On l'informe que l'objet n'a pas pu être créé end end addCommandHandler( "addobject", addObject ) Si tu as des questions, n'hésite pas !
-
Thanks !
-
Hello guys, I was wondering how it was possible to delete the zone text when a player join the server and also how to delete the vehicle name when a player enters a vehicle. Thank you for your help, Regards, TheCapn
-
I don't want the double colt, I just want to hold ONE colt with two hands. Sorry if I wasn't clear enough.
-
Hello guys, I was wondering if it was possible to make all the players handling the colt45 with the two hands while they shoot ? Regards,
-
Hello guys, I was wondering if there was an animation where the ped would talk as he is standing straight. I mean, hands & arms moves for instance. Because I have only founded talk animations but when the ped is in the car on while he is seating ... Regards,
-
Could you develop a bit ? Because that's the point. I would like to create different weapons from those who already exists.