Near weed?
#3

Quote:
Originally Posted by Matess
Посмотреть сообщение
Go on these coords = 0,0,0 and it should work

For one plant per player do something like this, but GLOBAL
Код HTML:
new Float:Weedx[MAX_PLAYERS], Float:Weedy[MAX_PLAYERS], Float:Weedz[MAX_PLAYERS];
For more plants
Код HTML:
#define MAX_PLANTS 5

new Float:Weedx[MAX_PLAYERS][MAX_PLANTS], Float:Weedy[MAX_PLAYERS][MAX_PLANTS], Float:Weedz[MAX_PLAYERS][MAX_PLANTS];
Wrong. It won't work if he goes to 0,0,0 coords. Give me a few minutes while I look at your code.

Edit: Are you sure your positions are fine? The object might be underground.
Reply


Messages In This Thread
Near weed? - by lulo356 - 04.02.2016, 13:55
Re: Near weed? - by Matess - 04.02.2016, 14:08
Re: Near weed? - by Rufio - 04.02.2016, 14:16
Re: Near weed? - by TopShooter - 04.02.2016, 14:19
Re: Near weed? - by lulo356 - 04.02.2016, 14:22
Re: Near weed? - by Rufio - 04.02.2016, 14:23
Re: Near weed? - by lulo356 - 04.02.2016, 14:29
Re: Near weed? - by Rufio - 04.02.2016, 14:33
Re: Near weed? - by lulo356 - 04.02.2016, 14:41
Re: Near weed? - by Rufio - 04.02.2016, 14:46

Forum Jump:


Users browsing this thread: 6 Guest(s)