08.06.2010, 18:46
Jetpack detection
pawn Код:
public OnGameModeInit()
{
SetTimer("JPD",7500,1);
return 1;
}
forward JPD();
public JPD()
{
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && GetPlayerSpecialAction(i) == 2)
{
//Do your thing
}
}
return 1;
}