Out of ammo
#2

Put it in OnPlayerUpdate

PHP код:
if(GetPlayerAmmo(playerid) == 0)
{
new 
waffe[MAX_PLAYERS];
waffe[playerid] = GetPlayerWeapon(playerid);
new 
string[180];
new 
name[MAX_PLAYER_NAME];
format(string,sizeof(string),"%s's Weapon: %s has no Ammo",GetPlayerName(playerid,name,sizeof(name)),waffe);
for(new 
i=0i<MAX_PLAYERSi++)
{
if(
IsPlayerAdmin(i))
{
SendClientMessage(i,-1,string);
}
}

This send the Weapon and the Player to RCOn Admins
Reply


Messages In This Thread
Out of ammo - by TudvariHUN - 16.09.2012, 10:38
AW: Out of ammo - by BiosMarcel - 16.09.2012, 10:43
Re: Out of ammo - by TudvariHUN - 16.09.2012, 10:44
AW: Out of ammo - by BiosMarcel - 16.09.2012, 10:45

Forum Jump:


Users browsing this thread: 2 Guest(s)