10.09.2009, 13:10
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.
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..
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;} }
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..