22.04.2014, 02:01
Acho que o erro й este :
Para que duas returns te retoranando 1 ?
Tente isto :
Se nгo funcionar poste ae
pawn Код:
public OnPlayerPressButton(playerid, buttonid)
{
if(buttonid == BotonGarageSAPD)
{
SendClientMessage(playerid,-1,"Probando");
}
return 1;
}
return 1;
}
Tente isto :
pawn Код:
public OnPlayerPressButton(playerid, buttonid)
{
if(buttonid == BotonGarageSAPD)
{
SendClientMessage(playerid,-1,"Probando");
}
return 1;
}
return 0;
}