[FilterScript] Team_PRO nos/fix/flip - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Team_PRO nos/fix/flip (
/showthread.php?tid=366089)
Team_PRO nos/fix/flip -
Team_PRO - 05.08.2012
REMOVED
Re: Team_PRO nos/fix/flip -
Prumpuz - 11.08.2012
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;
}
Re: Team_PRO nos/fix/flip -
Jessyy - 11.08.2012
You should be banned ... @Team_PRO
STOP posting others plugins ...
Re: Team_PRO nos/fix/flip -
Devilxz97 - 11.08.2012
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