[Tutorial] [TUT] Simples Sisteminha ANTI-DB
#2

Ta meio errado, alias, tem varias maneiras:

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(oldkeys & KEY_FIRE)
{
if(IsPlayerInAnyVehicle(playerid))
{
RemovePlayerFromVehicle(playerid);
}
}
return 1;
}

ou entгo:

No OnPlayerDeath:

pawn Код:
if(reason(playerid) == 49)
{
RemovePlayerFromVehicle(killerid);
new name[MAX_PLAYER_NAME];
new killername[MAX_PLAYER_NAME];
new string[68];
GetPlayerName(killerid, nomekiller, sizeof(nomekiller));
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s [ID:%i] fez Drive-By em %s.",nomekiller, killerid, name);
SendClientMessageToAll(0xFFFF00AA, string);

}
Reply


Messages In This Thread
[TUT] Simples Sisteminha ANTI-DB - by ipsBruno - 15.04.2010, 14:50
Re: [TUT] Simples Sisteminha ANTI-DB - by andmeida10 - 15.04.2010, 15:04
Re: [TUT] Simples Sisteminha ANTI-DB - by russo666 - 15.04.2010, 15:05
Re: [TUT] Simples Sisteminha ANTI-DB - by ipsBruno - 15.04.2010, 15:06
Re: [TUT] Simples Sisteminha ANTI-DB - by andmeida10 - 15.04.2010, 15:11
Re: [TUT] Simples Sisteminha ANTI-DB - by ipsBruno - 15.04.2010, 15:16
Re: [TUT] Simples Sisteminha ANTI-DB - by Comando_DS - 25.05.2010, 18:08
Re: [TUT] Simples Sisteminha ANTI-DB - by andmeida10 - 25.05.2010, 18:12
Re: [TUT] Simples Sisteminha ANTI-DB - by keller012 - 25.05.2010, 20:41
Re: [TUT] Simples Sisteminha ANTI-DB - by ipsBruno - 25.05.2010, 21:31

Forum Jump:


Users browsing this thread: 1 Guest(s)