[Release] K9 Script [REMOVED]

Do you have any scripts that allows users to buy pets?

Nope.

Receiving the following error when trying to spawn my dog, “GetNetworkObject: no object by ID 389122”

Is it causing anything not to work. Such as deleting the dog or anything like that

Yes. The dog will appear for about half a second, then disappear.

Weird.

I believe I am receiving this error after attempting to spawn the dog the first time, and then the Ped is not nill accoriding to code. So it goes into the else, and since there is no ped, because it disappeared, it cannot find the ped.

So my question is this then, what would cause my dog to disappear after calling K9:ToggleK9? I inserted a print function after ever line of code that spawns the dog, and makes it to the end without erroring out.

I also verified the correct model is being called, a_c_rottweiler, and have also attempted to hard set it in code.

image

When do you think your new K9 script will come out

Idk im working on a million other things.

1 Like

Can someone help me? When i close the menu my mouse gets stuck. And i have to restart my game.

1 Like

Me too! Please help! @xander1998

What is the resource name called for the K9 installed on your server.

^^
@LARP
@Wackz

Swift_K9 @xander1998

NUI Resources can not have capital letters.

So, if i change it to small text it should not get stuck when i close the menu?
Another question, when i press “spawn ped” it wont spawn?
Ty for the help!

Same issue. None of the NUI will work with capital letters in the resource name.

and just to be clear (Im new to developing)… I need to make the letters small, in server.cfg as: “swift_k9”? :smiley:

even the resource folder has to be lowercase.

Appreciate! Will just try that real quick

1 Like

Just did that, it didnt work. Im still stuck with the mouse on my screen when i close the menu