[Help] Weed Growing
#1

Hello guys,
I've downloaded a Weed Growing Filterscript from here and I've got some troubles with it.
I don't have problem with the script that is released but with what I want to make in it.

This is the whole Weed Growing Script:
http://pastebin.com/m6aceeb74

And this is the part I am trying to make.
Код:
	if(strcmp(cmdtext, "/sellweed", true) == 0)
	{
	if(PlayerToPoint(7.0, playerid,2455.1968,-1707.8607,13.6164)) //place you must sell
	if(Drugs[playerid] > 50){ //when your plants harvested
	GivePlayerMoney(playerid, 400);
	SendClientMessage(playerid, COLOR_GREY, "You've sold your weed.");
	return 1;}
	}
It doesn't works for me.. And I also tried to make something like if you're not to point that a message appears like:
You're not a t the selling point.

And when you don't have 50 grams of harvest weed it says "You don't have 50 grams of weed."

You understand? I don't.

Please help me if you've got some time.. Atleast I tried..
Reply


Messages In This Thread
[Help] Weed Growing - by joeri55 - 10.09.2009, 13:10
Re: [Help] Weed Growing - by saiberfun - 10.09.2009, 13:14
Re: [Help] Weed Growing - by joeri55 - 10.09.2009, 13:47
Re: [Help] Weed Growing - by Correlli - 10.09.2009, 13:52
Re: [Help] Weed Growing - by joeri55 - 10.09.2009, 14:02
Re: [Help] Weed Growing - by Correlli - 10.09.2009, 14:04
Re: [Help] Weed Growing - by Calgon - 10.09.2009, 15:18

Forum Jump:


Users browsing this thread: 1 Guest(s)