27.02.2014, 04:18
pawn Код:
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
{
SetPlayerArmedWeapon(playerid, 0);
}
Also, why are you checking if the player is connected?
Quote:
Originally Posted by SAMP Wiki
This callback is called everytime a client/player updates the server with their status.
|
Futher I don't see what'd be wrong. And I wouldn't use a timer to check this. Why use a timer when there's OnPlayerUpdate? (@Onfroi)
- Kwarde
p.s.
Wrong section . This should be in the scripting help section.