03.09.2010, 22:15
(
Последний раз редактировалось Grim_; 23.07.2011 в 02:52.
)
Outdated and un-supported. Please don't ask me for a download, as I do not have a copy.
if(!strcmp(cmdtext, "/buy", true))
{
new d, c;
GetPlayerMoneyEx(playerid, d, c);
if(d > 5000 || d == 5000 && c >= 50)
{
GivePlayerWeapon(playerid, 29, 500);
TakePlayerMoneyEx(playerid, 5000, 50);
}
return 1;
}
Thanks.
@Luka P.: There's most likely not going to be another version, unless it's needed. If there is, I'll use PVars. @The toni: It's simple pawn Код:
|
GivePlayerMoneyEx(playerid, amount[]);
GivePlayerMoneyEx(playerid, "2500.50");