04.06.2009, 04:11
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext,"/sawnoff",true)==0 {
GivePlayerWeapon(playerid, 26, 500); //Give playerid sawnoff shotgun with 500 ammo
SendClientMessage(playerid,red, " You recieved 500 ammo of sawnoff");
return 1;
}
//if is only this command uncomment the line down
//return 0;}
// if not dont uncomment :P