01.06.2013, 06:29
replace to:
replace to:
replace to:
pawn Код:
CMD:givecash(playerid,params[])
{
new IDMoney;
new str[128];
if(sscanf(params, "d", IDMoney)== 0)
{
if(IsPlayerConnected(IDMoney))
{
SendClientMessage(playerid, COLOR_RED,"bla bla bla bla");
for(new i = 0; i < MAX_PLAYERS; i++)
{
GivePlayerMoney(i, IDMoney);
}
}
else return SendClientMessage(playerid, COLOR_RED,"*** player not connected");
}
else return SendClientMessage(playerid, COLOR_RED,"*** command invalid!");
return 1;
}