[FilterScript] Team_PRO nos/fix/flip
#1

REMOVED
Reply
#2

Well, it's not yours. You could at least give credits to the original creator: http://forum.sa-mp.com/showthread.ph...63%3Cbr%20/%3E

It is exactly the same, except you just changed a name and a sentence. If you are really claiming this as yours, then you forgot to change the first 3 lines...

What you posted:
pawn Код:
// """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
//"""""""""""""""""""""""Fix Flip Nos By Rudy_"""""""""""""""""""""
//""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
#define FILTERSCRIPT

#include <a_samp>
#define RED 0xAA3333AA

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print("Fix/Flip/Repair by Edge");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

#else

main()
{
    print("\n----------------------------------");
    print(" Cops And Robbers");
    print("----------------------------------\n");
}

#endif

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/frn", true) == 0)
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid,-1,"You are not driving in any vehicle!");
            new Float:vHealth,cost;
            for(new i = 0; i < (1000 - (GetVehicleHealth(GetPlayerVehicleID(playerid),vHealth))); i += 3)
            {
                if(i - 1000 == 0) break;
                cost = i;
            }
            AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
            if(GetPlayerMoney(playerid) < cost) return SendClientMessage(playerid,RED,"You don't have enough money to fix your vehicle.");
            SetVehicleHealth(GetPlayerVehicleID(playerid),1000);
            SendClientMessage(playerid,-1,"You have fixed your vehicle!");
            GivePlayerMoney(playerid,GetPlayerMoney(playerid) - cost);
            new veh;
            new Float:angle, Float:fVx, Float:fVy, Float:fVz;
            veh = GetPlayerVehicleID(playerid);
            GetVehicleVelocity(veh,fVx,fVy,fVz);
            GetVehicleZAngle(veh,angle);
            SetVehicleZAngle(veh,angle);
            GetVehicleVelocity(veh, fVx,fVy,fVz);
            SendClientMessage(playerid,-1,"Your vehicle has been flipped and fixed nos added");
            return 1;
        }
    }
    return 0;
}
By Rudy_:
pawn Код:
// """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
//"""""""""""""""""""""""Fix Flip Nos By Rudy_"""""""""""""""""""""
//""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
#define FILTERSCRIPT

#include <a_samp>
#define RED 0xAA3333AA

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print("Fix/Flip/Repair by Rudy_");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

#else

main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}

#endif

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/frn", true) == 0)
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid,-1,"You are not driving in any vehicle!");
            new Float:vHealth,cost;
            for(new i = 0; i < (1000 - (GetVehicleHealth(GetPlayerVehicleID(playerid),vHealth))); i += 3)
            {
                if(i - 1000 == 0) break;
                cost = i;
            }
            AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
            if(GetPlayerMoney(playerid) < cost) return SendClientMessage(playerid,RED,"You don't have enough money to fix your vehicle.");
            SetVehicleHealth(GetPlayerVehicleID(playerid),1000);
            SendClientMessage(playerid,-1,"You have fixed your vehicle!");
            GivePlayerMoney(playerid,GetPlayerMoney(playerid) - cost);
            new veh;
            new Float:angle, Float:fVx, Float:fVy, Float:fVz;
            veh = GetPlayerVehicleID(playerid);
            GetVehicleVelocity(veh,fVx,fVy,fVz);
            GetVehicleZAngle(veh,angle);
            SetVehicleZAngle(veh,angle);
            GetVehicleVelocity(veh, fVx,fVy,fVz);
            SendClientMessage(playerid,-1,"Your vehicle has been flipped - fixed nos added");
            return 1;
        }
    }
    return 0;
}
Reply
#3

You should be banned ... @Team_PRO
STOP posting others plugins ...
Reply
#4

do not copy other people works and claim it as your dude.
its not a good think.
https://sampwiki.blast.hk/ learn how to script
thing about it b4 release other people works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)