25.10.2010, 15:30
Coded it in DCMD for you!
pawn Код:
dcmd_rpg(playerid, params[])
{
#pragma unused params
if(gTeam[playerid] != CLASS_MERC) return SendClientMessage(playerid,RED,"Error Message!");
if(weptimer[playerid]) return SendClientMessage(playerid,RED,"[ATT]:Please Wait Before Using This Command Again!");
GivePlayerWeapon(playerid, 35, 50);
SendClientMessage(playerid, RED, "[ATT]: RPG Recieved With 50 Rockets!");
weptimer[playerid] =120;
return 1;
}