SA-MP Forums Archive
Anti NRG - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Anti NRG (/showthread.php?tid=205417)



Anti NRG - PlayerID - 01.01.2011

Heyy, where can i get anti nrg? if i enter in NRG veh will Destroy
sorry bad english.


Re: Anti NRG - HyperZ - 01.01.2011

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER && oldstate == PLAYER_STATE_ONFOOT)
    {
        new vehicleid = GetPlayerVehicleID(playerid);
        if(GetVehicleModel(vehicleid) == 522)//vehcile model id. :D
        {
            DestroyVehicle(vehicleid);
            //bla bla
        }
    }
    return 1;
}



Re: Anti NRG - boelie - 01.01.2011

LoL! or just dont add NRG on your server hehe why would you want this? do you hate those bikes ?


Re: Anti NRG - HyperZ - 01.01.2011

Lol boelie, when i saw this thread i lol'd rly.


Re: Anti NRG - boelie - 01.01.2011

Quote:

Lol boelie, when i saw this thread i lol'd rly.

Yea XD Its great to begin the new year with funny script questions like these i cant wait for him to reply
why he wants this


Re: Anti NRG - HyperZ - 01.01.2011

Quote:
Originally Posted by boelie
Посмотреть сообщение
Yea XD Its great to begin the new year with funny script questions like these i cant wait for him to reply
why he wants this
Hmm, ok let's wait for hyperz's reply.


Re: Anti NRG - Mean - 01.01.2011

You can just create a big ASSPLOZION , or just not add them to script at all!


Re: Anti NRG - bartje01 - 01.01.2011

Quote:
Originally Posted by boelie
Посмотреть сообщение
LoL! or just dont add NRG on your server hehe why would you want this? do you hate those bikes ?
Alright epic.xD

But maybe he just wanted to know how something works so he can use it for other things :P


Re: Anti NRG - HyperZ - 01.01.2011

Quote:
Originally Posted by bartje01
Посмотреть сообщение
Alright epic.xD

But maybe he just wanted to know how something works so he can use it for other things :P
i guess You're right bartje01...


Re: Anti NRG - bartje01 - 01.01.2011

Quote:
Originally Posted by Clive
Посмотреть сообщение
i guess You're right bartje01...
Yea. many times when I want to know something I ask it like this:

How to give a message when someone tries to step on a NRG?

Then you guys give me the code for it.

And I'll change it so the player will be slapped.


I want to do things myself as much as I can.

Maybe he things the same about it