Jump to content
  • 0

problema Vending machine


Question

Posted (edited)

Salut, folosesc acest include http://forum.sa-mp.com/showthread.php?t=553952

Insa am o mica problema la el. Pot folosi dozatorul/vending-ul cum vrei sa-i zici, doar cand sunt langa el, nu si cand sunt cu fata lui. Vedeti pozele de mai jos.

Cum as putea rezolva? Am incercat sa schimb coordonatele, IsPlayerInRangeOfPoint, insa la fel...

include: https://pastebin.com/wCJLUVKL

Poze: https://imgur.com/a/m0rjZ

Edited by Rayan

5 answers to this question

Recommended Posts

  • 0
Posted (edited)

Salut, incearca sa fi la 1 metru fata de dozator, in fata acestuia si incearca,daca nu,fai debug si vezi in consola unde nu functioneaza corect.

Edited by Джо

 

 

  • 0
Posted

De ce nu maresti pur si simplu ''rangeofpointul'' pentru tonomat. In include ai aceste defineuri, si modifici in 1.5

#define SODA_RADIUS					1.2
#define SPRUNK_RADIUS				1.05
#define SNACK_RADIUS				1.05

 

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
  • 0
Posted
Acum 17 ore, Mister a spus:

De ce nu maresti pur si simplu ''rangeofpointul'' pentru tonomat. In include ai aceste defineuri, si modifici in 1.5


#define SODA_RADIUS					1.2
#define SPRUNK_RADIUS				1.05
#define SNACK_RADIUS				1.05

 

le-am pus si la 2.5 / 3 , 5, 100, si tot nu merge, e la fel ca inainte, nicio schimbare, trebuie sa fiu la fel ca in pozele de mai sus ca sa il folosesc.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.