SA-MP Forums Archive
[HELP]I need an unlimited nos command plz :D - 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: [HELP]I need an unlimited nos command plz :D (/showthread.php?tid=65582)



[HELP]I need an unlimited nos command plz :D - PLS ANSWER ME - 14.02.2009

Thank u if u can bring me one


Re: [HELP]I need an unlimited nos command plz :D - Think - 14.02.2009

why cant you create one yourself were here to help fixing you stuff not to create everything for you 0_o

https://sampwiki.blast.hk/wiki/SetTimer
https://sampwiki.blast.hk/wiki/GetPlayerVehicleID
https://sampwiki.blast.hk/wiki/AddVehicleComponent


Re: [HELP]I need an unlimited nos command plz :D - Schock - 14.02.2009

pawn Code:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if( newkeys == 1 || newkeys == 9 || newkeys == 33 && oldkeys != 1 || oldkeys != 9 || oldkeys != 33)
    {
        new Car = GetPlayerVehicleID(playerid), Model = GetVehicleModel(Car);
         switch(Model)
        {
            case 446,432,448,452,424,453,454,461,462,463,468,471,430,472,449,473,481,484,493,495,509,510,521,538,522,523,532,537,570,581,586,590,569,595,604,611: return 0;
        }
        AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
    }
    return 1;
}



Re: [HELP]I need an unlimited nos command plz :D - whooper - 14.02.2009

pawn Code:
if(newkeys & KEY_SUBMISSION)

     {

       if(!IsPlayerInInvalidNosVehicle(playerid, GetPlayerVehicleID(playerid)))

       {

       SendClientMessage(playerid, COLOR_GREEN, "You Recieved NoS! ");

       AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
       SetVehicleHealth(GetPlayerVehicleID(playerid),1000);

       }

     }

        return 1;

   }
search for IsPlayerInInvalidNosVehicle


Re: [HELP]I need an unlimited nos command plz :D - Daren_Jacobson - 14.02.2009

IsPlayerInInvalidNosVehicle is messed up, it says boats are okay, but they aren't.


Re: [HELP]I need an unlimited nos command plz :D - whooper - 14.02.2009

well add them to the list in it....