20.04.2009, 16:50
(
Последний раз редактировалось FreshKilla; 24.07.2010 в 05:05.
)
Remove please.
|
Originally Posted by ShadowMcFartPants!
What you mean in the other peoples screen?
What's more to explain? It doesn't let you shoot while driver! which most RP servers have as a rule(for some unknown reason) so for them this would bee great!! |
forward AntiDB(playerid);
public OnFilterScriptInit()
{
print("- Anti Driveby -");
print("- LOADED -");
SetTimer("AntiDB",100,true);
return 1;
}
public AntiDB(playerid)
{
if (GetPlayerWeapon(playerid) == 28 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
ApplyAnimation(playerid, "SILENCED", "Silence_reload", 3.0, 0, 0, 0, 0, 0);
}
if (GetPlayerWeapon(playerid) == 29 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
ApplyAnimation(playerid, "SILENCED", "Silence_reload", 3.0, 0, 0, 0, 0, 0);
}
if (GetPlayerWeapon(playerid) == 32 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
ApplyAnimation(playerid, "SILENCED", "Silence_reload", 3.0, 0, 0, 0, 0, 0);
}
return 1;
}
public AntiDB(playerid)
{
if (GetPlayerWeapon(playerid) == 28 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
ApplyAnimation(playerid, "SILENCED", "Silence_reload", 3.0, 0, 0, 0, 0, 0);
}
if (GetPlayerWeapon(playerid) == 29 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
ApplyAnimation(playerid, "SILENCED", "Silence_reload", 3.0, 0, 0, 0, 0, 0);
}
if (GetPlayerWeapon(playerid) == 32 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
ApplyAnimation(playerid, "SILENCED", "Silence_reload", 3.0, 0, 0, 0, 0, 0);
}
return 1;
}
public AntiDB(playerid)
{
if ((GetPlayerWeapon(playerid) == 28 || GetPlayerWeapon(playerid) == 29 || GetPlayerWeapon(playerid) == 32) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
ApplyAnimation(playerid, "SILENCED", "Silence_reload", 3.0, 0, 0, 0, 0, 0);
}
return 1;
}
|
Originally Posted by n_i_k_i
Код:
public AntiDB(playerid)
{
if (GetPlayerWeapon(playerid) == 28 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
ApplyAnimation(playerid, "SILENCED", "Silence_reload", 3.0, 0, 0, 0, 0, 0);
}
if (GetPlayerWeapon(playerid) == 29 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
ApplyAnimation(playerid, "SILENCED", "Silence_reload", 3.0, 0, 0, 0, 0, 0);
}
if (GetPlayerWeapon(playerid) == 32 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
ApplyAnimation(playerid, "SILENCED", "Silence_reload", 3.0, 0, 0, 0, 0, 0);
}
return 1;
}
Код:
public AntiDB(playerid)
{
if ((GetPlayerWeapon(playerid) == 28 || GetPlayerWeapon(playerid) == 29 || GetPlayerWeapon(playerid) == 32) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
ApplyAnimation(playerid, "SILENCED", "Silence_reload", 3.0, 0, 0, 0, 0, 0);
}
return 1;
}
|
|
Originally Posted by [JIeXa
]
public OnPlayerStateChange(playerid, newstate, oldstate) if(newstate == PLAYER_STATE_DRIVER) ApplyAnimation(playerid, "SILENCED", "Silence_reload", 3.0, 0, 0, 0, 0, 0); my short version ![]() |
.|
Originally Posted by g4ngsta
I re-scripted your script a bit, I haven't tested it yet but it has to work fine
.Link: http://pawn.pastebin.com/f68f554ed Have fun. |
|
Originally Posted by MenaceX^
Quote:
|
|
Originally Posted by Jolteon | RD Left
Quote:
|