30.09.2014, 03:23
Then, just add another if clause & a new parameter to your command
New parameter:
Like this :
New parameter:
PHP код:
new ammount;
PHP код:
if(GetPlayerWeed(playerid) < ammount)
{
SendClienMessage(playerid,-1,"You don't have enough weed!");
}
else
{
//////If the player has enough weed, run code
}