18.04.2014, 12:50
i'd like SetPlayerGravity too
how i can clean SendDeathMessageToPlayer from screen?
how i can clean SendDeathMessageToPlayer from screen?
i'd like SetPlayerGravity too
how i can clean SendDeathMessageToPlayer from screen? |
stock ClearDeathWindowForPlayer(playerid)
{
for(new i; i < 5; i++)
{
SendPlayerDeathMessage(playerid, INVALID_PLAYER_ID, INVALID_PLAYER_ID, 255);
}
}
// Based on iZN's solution
stock ClearKillFeed()
{
for(new i; i < 20; i++)
{
SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 255);
}
}
CMD:clearkf(playerid, params[])
{
//if(IsPlayerAdmin(playerid)) return 0;
ClearKillFeed();
return 1;
}
http://forum.sa-mp.com/member.php?u=90884 says thanks too
|
http://forum.sa-mp.com/member.php?u=90884 says thanks too
|
native BlockIpAddress(ip_address[], timems); // blocks an IP address from further communication (wildcards allowed)
native UnBlockIpAddress(ip_address[]); // IP unblock
native SendDeathMessageToPlayer(playerid, killer, killee, weapon);
native CreateExplosionForPlayer(playerid, Float:X, Float:Y, Float:Z, type, Float:Radius);