[Ajuda] Anti Surf
#1

Tentei fazer um ANTI SURF aquela parada que fica um monte de gente em cima do carro totalmente fora de realidade

Claro q tem uns carros que eu acho que poderia ficar de surf sendo esses ids
pawn Code:
if(surf != 0 || surf != 406 || surf != 408 || surf != 407 || surf != 417 || surf != 422 || surf != 430 || surf != 433 || surf != 443 || surf != 444 || surf != 446 || surf != 452 || surf != 453 || surf != 454 || surf != 472 || surf != 473 || surf != 478 || surf != 484 || surf != 493 || surf != 525 || surf != 554 || surf != 556 || surf != 557 || surf != 578 || surf != 605 || surf != 470)
Fiz assim
pawn Code:
forward Surfando();
public Surfando(){

    for(new i = 0; i < MAX_PLAYERS; i++)
    {

        new surf = GetPlayerSurfingVehicleID(i);
        if(surf != 0 || surf != 406 || surf != 408 || surf != 407 || surf != 417 || surf != 422 || surf != 430 || surf != 433 || surf != 443 || surf != 444 || surf != 446 || surf != 452 || surf != 453 || surf != 454 || surf != 472 || surf != 473 || surf != 478 || surf != 484 || surf != 493 || surf != 525 || surf != 554 || surf != 556 || surf != 557 || surf != 578 || surf != 605 || surf != 470)
        {
            SendClientMessage(i, COLOR_BLACKRED, "Nгo surfe nesse veiculo ou serб preso!");
            return 1;
        }
    }
    return 1;
}
Mas o tempo todo fica dando a msg como se tive-se surfando, a pй, sem logar o tempo todo!
Reply


Messages In This Thread
Anti Surf - by pedrotvr - 27.04.2014, 19:42
Re: Anti Surf - by pedrotvr - 28.04.2014, 03:13
Re: Anti Surf - by hard_dalzot - 28.04.2014, 03:27
Re: Anti Surf - by pedrotvr - 28.04.2014, 04:25
Re: Anti Surf - by Kmatsu - 28.04.2014, 15:59
Re: Anti Surf - by pedrotvr - 29.04.2014, 00:17

Forum Jump:


Users browsing this thread: 1 Guest(s)