10.12.2018, 03:52
@edit, jб identifiquei o erro...
й que estou tentando colocar para quando o player largar o jetpack ninguem poder pegar-lo para ele ser destruido automaticamente ao largar...
й o cуdigo que ta fazendo o pawno para
й que estou tentando colocar para quando o player largar o jetpack ninguem poder pegar-lo para ele ser destruido automaticamente ao largar...
й o cуdigo que ta fazendo o pawno para
PHP код:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
if(newkeys == KEY_SECONDARY_ATTACK)
{
if(GetPlayerSpecialAction(playerid) == 2)
{
SetPlayerSpecialAction(playerid, 0);
}
}
return 1;
}