24.03.2012, 14:56
Gracias a todos por ayudar, pero me explicaron otra manera mбs sencilla, aquн la dejo:
pawn Код:
if(newstate == PLAYER_STATE_ONFOOT && oldstate == PLAYER_STATE_DRIVER)
{
if(GetPlayerWeapon(playerid) == 46)
{
RemovePlayerWeapon(playerid, 46);
}
}