[Ajuda] Me ajudem pfv
#1

PHP код:
forward chamarcheckpointpm();
public 
chamarcheckpointpm()
{
    foreach(
Playeri)
    {
        if(
IsPlayerInRangeOfPoint(i3.01542.7469, -1677.242413.5551)
        {
            if(
Algemado[i] == 1)
            {
                
SetPlayerInterior(i5);
                
SetPlayerPos(i317.9386,316.8946,999.1484);
                
Tempocadeia(i);
            }
            else if(
Algemando[i] == 1)
            {
                
GivePlayerMoney(i4000);
                
RemovePlayerMapIcon(i0);
                
DisablePlayerCheckpoint(i);
                
SendClientMessage(i0x0000FFAA"[ x ]Parabйns. Vocк acabou de prender um procurado\nSua recompensa foi automaticamente entregue!");
            }
        }
    }
    return 
1;

PHP код:
C:\Users\victo\OneDrive\Бrea de Trabalho\server\gamemodes\fsf.pwn(500) : error001expected token")"but found "{" 
?
Reply
#2

PHP код:
forward chamarcheckpointpm(); 
public 
chamarcheckpointpm() 

    foreach(
Playeri
    { 
        if(
IsPlayerInRangeOfPoint(i3.01542.7469, -1677.242413.5551)) // Faltou uma ) para fechar.
        

            if(
Algemado[i] == 1
            { 
                
SetPlayerInterior(i5); 
                
SetPlayerPos(i317.9386,316.8946,999.1484); 
                
Tempocadeia(i); 
            } 
            else if(
Algemando[i] == 1
            { 
                
GivePlayerMoney(i4000); 
                
RemovePlayerMapIcon(i0); 
                
DisablePlayerCheckpoint(i); 
                
SendClientMessage(i0x0000FFAA"[ x ]Parabйns. Vocк acabou de prender um procurado\nSua recompensa foi automaticamente entregue!"); 
            } 
        } 
    } 
    return 
1

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)