16.05.2010, 13:36
Quote:
|
Originally Posted by Naxix
Quote:
Example: Code:
dcmd_buydeagle(playerid,params[])
{
if(GetPlayerMoney(playerid, <= 999)) return SendClientMessage(playerid,0xFFFFFFF,"ERROR: You need to have $1000 for this item");
else
{
GivePlayerWeapon(playerid,24,100);
}
return 1;
}
|
Well i'm kind of a beginner but are give it a try, Still litle confused with this line "dcmd_buydeagle(playerid,params[])"
And this was going to go in a menu.

