[Ajuda] Animaзгo
#1

Estou querendo um simples comando que faзa parar uma animaзгo quando eu entrar em um determinado veнculo.
Reply
#2

public OnPlayerEnterVehicle
pawn Код:
if(vehicleid == id) return ClearAnimations(playerid);
Reply
#3

na funзгo utilize

pawn Код:
public OnPlayerEnterVehicle
{
ClearAnimations(playerid);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE);
return 1;
}
Reply
#4

Код:
error 017: undefined symbol "id"
Precisa declarar alguma coisa?
Reply
#5

Troque o id pelo id do veiculo
Reply
#6

Mas tipo, agora eu estou querendo que faзa isso com todos os veнculos que eu entrar, vi que sу com um nгo vai adiantar aki.
Reply
#7

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    ClearAnimations(playerid);
    return 0x1;
}
Reply
#8

Os dois comandos funcionando perfeitamente.
Vlw Vai_Besta e Mateuscm...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)