28.10.2009, 17:09
You will have to set a timer...
just use
if(GetPlayerWeapon(playerid) == WEAPON_M4)
{
if(IsPlayerAdmin(playerid))
{
//something
}
else
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid,0xAA3333AA,"you don't realy need gun's on a drift server..");
return 0;
}
Plz note that i typed this up right now, so it isnt tested =P
just use
if(GetPlayerWeapon(playerid) == WEAPON_M4)
{
if(IsPlayerAdmin(playerid))
{
//something
}
else
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid,0xAA3333AA,"you don't realy need gun's on a drift server..");
return 0;
}
Plz note that i typed this up right now, so it isnt tested =P