Everything posted by Mytical49
-
So im creating my plugin
Can you re send the RagePluginHook.log please Can you remove CalloutInterface and use StartCallout Dangerous_Callouts (with F4) instead
-
So im creating my plugin
It should cause the crash because the file doesn't exist, did you try ?
-
So im creating my plugin
In the code you put: (you forgot the "_01") Functions.PlayScannerAudioUsingPosition("OFFICERS_REPORT CRIME_RESIST_ARREST IN_OR_ON_POSITION", SpawnPoint); but it have to be : Functions.PlayScannerAudioUsingPosition("OFFICERS_REPORT_01 CRIME_RESIST_ARREST_01 IN_OR_ON_POSITION", SpawnPoint);
-
So im creating my plugin
Can you post the RagePluginHook.log please ?
-
Black loading screen after going on duty.
I don't think i can help you more but if I was you I will remove the plugins one by one to see which one make the game crash
-
Black loading screen after going on duty.
What happend if you do ForceDuty in the terminal ? Can you do ClearLastOffDutyOutfit in the terminal.
-
So im creating my plugin
I don't know if it that who make you crash but try to replace SuspectBlip.Color = System.Drawing.Color.DarkGreen; by SuspectBlip.Color = Color.DarkGreen; If you need to just change one things in your code do not reload all GTA, your can juste do "ReloadAllPlugin" and "ForceDuty" for reloading all your plugin.
-
So im creating my plugin
For sure, can i have the ragepluginhook.log just after you crash please ? It look like the same code from here : LSPDFR Callout Modding Guide - Google Docs Did you follow this guide ? Tips : If you need to include code here you can use the spoiler thing and then "<>" on the menu like this (and then select C#) : (Do not hesitate to quote me in your comment so I get a notification)
-
CRASH
What plugin do you use ?
-
Need help (will pay if needed)
Hi do you speech french ?
-
[SOLVED] Arrest a ped is bugged (in my callout)
Yeah, that what i did and it work well now. Thank you ! I forgot to ask if the Task.Clear(); can can avoid a ped from being arrested ?
-
[SOLVED] Arrest a ped is bugged (in my callout)
did you see the loop foreach on the top ? It mean it will execute everythings below
-
[SOLVED] Arrest a ped is bugged (in my callout)
Yes, in fact in an array the content of [] after the name of the array determines the element selected in the array so if I do the array : alphabet[] = { a, b, c , d , f} and then ConsolePrint(alphabet[0]); the console will show "a" so ConsolePrint(alphabet[4]); returns "f" (the first element is always numbered 0) @Fentered the Task.Clear(); can can avoid a ped from being arrested ?
-
[SOLVED] Arrest a ped is bugged (in my callout)
No, the "h" which is a variable takes 1 each time a foreach loop happens, which in the end makes h go through all the peds
-
[SOLVED] Arrest a ped is bugged (in my callout)
Here is all of the code, sorry i know it's cluttered but maybe it will help you Thanks, the Lock thing work ! I still have a minor error but i will fix that easily .
-
[SOLVED] Arrest a ped is bugged (in my callout)
ballasPed[] is an array and familiesPed[] too
-
[SOLVED] Arrest a ped is bugged (in my callout)
It won't work because I need the fightagainst to repeat because the target changes (the callout is about 2 gangs fighting each other)
-
[SOLVED] Arrest a ped is bugged (in my callout)
But the "fight against" that is in the process will be repeated after Task is cleared right? Edit: what i mean is: Is the Task.Clear(); permanent or if a function is executed after the Task.Clear(); it will be still executed ?
-
[SOLVED] Arrest a ped is bugged (in my callout)
Infact there is nothing in the logs because i believe it is a code error, here is the part of code where there is the function, i may have done something wrong:
-
[SOLVED] Arrest a ped is bugged (in my callout)
Thanks for helping me @Fentered it worked but now the ped just stays still and I can't arrest him.
-
[SOLVED] Arrest a ped is bugged (in my callout)
Hi, I'm trying to continue my Callout but I got this error where I can't stop the ped, I think it's because I have "Tasks.FightAgainst()" in my process, how can I avoid this? https://imgur.com/a/cVK4qz2
-
Interacting with drug packages
Hi, what do you want to do once you've managed to keep them on you?
-
So im creating my plugin
Hi, I assume you are using Callout Manager to start your Callout, I myself had problems with Callout Manager when I created my callout and my solution was to remove Callout Manager and use the StartCallout command in the Rage terminal, if you don't see your callout after the "StartCallout" it would mean that your callout is badly registered if so, I would like you to share your 'Main' of your code. Thanks
-
Create a callout for LSPDFR
Salut, dans le guide de Fentered qui est très bien on ne t'apprends pas à aller chercher des fonctions pour te permettre de faire exactement les choses que tu veux (je suis moi aussi en train de créer mon premier callout), alors voici quelque conseil qui te servirons lorsque tu auras compris le fonctionnement d'un callout. Si tu cherches des fonctions (la base pour avoir des actions in-game), tu peux te rendre ici : pour rage (il faut utiliser Rage comme référence) et Rage.Native (il faut utiliser Rage.Native comme référence). Ensuite je ne sais pas si tu as les base en C# mais si non tu peux apprendre le C# ici (C'est la que j'ai appris le C#). Et sur ce guide qui ne marche pas (ne te fie à lui sur le code mais mis à pars ça il explique très bien le plus important) tu peux tout de même retrouver pas mal de lien important. Et pour finir si tu as des erreurs dans ton code que tu galère à fix tu peux comparer ton code avec celui officiel fait par Albo . Voilà j'espère t'avoir aidé car il n'y a pas beaucoup d'explication surtout pour les français donc si tu as un souci n'hésite pas à demander.💪
-
Make the suspect in the vehicle shoot
ok thanks you