06.07.2012, 15:28
i haven't script for years and i forgot somethings
i want to know how to make them buyuble and to check if you have drugs example /usedrug Heroin you used 1 grams Heroin, MoonShine or Weed.You have 0 grams od Heroin Weed MoonShine
Код:
if (strcmp("/buy", cmdtext, true, 6) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 2547.9336,-1293.8936,1044.1250))
{
SendClientMessage(playerid, 0xFF4500AA, "What do you want:Heroin 8000$, Weed 6000$, MoonShine, 3000$");
}
return 1;
}

