[vRP] Pets

THANK YOU! Been trying to long to make my own pet system, and that whole function to call them got me stuck for so long. Thanks :smiley:

Fiz isso , ate usei a linha dada pelo dono , mas quando compro , n sai da loja o gato , retira o dinheiro , vou ao menu para chamar e n da, n faz nada.
Ja testas-te a ver se da? e se da como o fizes-te?

I would add but we are already plagued with cars de spawning with default vRP garages… RIP

Saved me a job, had lots of requests for this :stuck_out_tongue: Great work

1 Like

Has anybody tried this as i have installed it but all i get on the menu is call your pet when i have bought one nothing else happens

Have you added the column “pet” on your users table ? It’s on a file called vrp_pets.sql

2 Likes

thank you i feel stupid now lol

is this comming in a new update for you ? :slight_smile:

Not really needed since it’s released here, though if @TheSparta wants me to put it in the pack I have no issues there.

1 Like

@Dunko your pack your choice, if you want to, you have my permission as long as you say where it came from :wink:

2 Likes

Hi ! I have column “pet” but nothing else happens when i call pet ( it works fine on local server , but on remote server it doesnt work ( it doesnt save pets in my remote DB

@KeyWest It has to work, it is using mysql-async idk if there’s a problem with that on your server

1 Like

Have you added the SQL file to your database?

1 Like

I have mysql-async , remote server has same cinfugurations as a local server , i have no ideas why it doesnt work . I tried reinstall DB and still same problem . idk why in local server everything is fine and on remote it doesnt work (

Yes, sure ! anyway it doesnt work for me (

@KeyWest maybe because your mysql server is not accepting outcoming connections ? are you using debian or ubuntu for your server ? if you’re using one of those i can tell you how you’d enable this, also where is your mysql server ? localhost or on your server ?

1 Like

But whole vrp works fine , and i use phpMyAdmin on windows , can we contact via skype or discord ? thanks for helping ) i have both mysql servers on localhost and remote , on localhost everythings works fine but when im on remote , it doesnt work (

so does vrp work or not on your server ? because if it works my script should also work, if that’s the case i can’t help you because idk what to do about that …

1 Like

Yes vrp works perfect , oll things are working . Only vrp_pets cant save enteris in DB (

Works lovely. Thankyou. =)