17.04.2014, 10:37
(
Last edited by TheSimpleGuy; 17/04/2014 at 11:26 AM.
)
Hi! I am TheSimpleGuy, and I am showing you today my first filterscript!
Do not flame me if I have any mistakes on my script. Thank you!
Simple Ghost Rider
What is it:
This is a filterscript that will spawn a Freeway and flames it(without being exploded) like Ghost Rider. You can also do this script for VIP's.
Photo:
Requirements:
- ZCMD
Code:
How to use it:
Use /ghostrideron when ready, and if you're bored about it, use /ghostrideroff.
Warnings:
It might backfire on high pingers.
Copyrights:
You can change name, do whatever shit you like here. It's just a simple filterscript after all.
Credits:
Credits to yugecin, which I was posted this thread, but I did not know he already posted this idea. Once again, Credits to yugecin for idea
Do not flame me if I have any mistakes on my script. Thank you!
Simple Ghost Rider
What is it:
This is a filterscript that will spawn a Freeway and flames it(without being exploded) like Ghost Rider. You can also do this script for VIP's.
Photo:
Requirements:
- ZCMD
Code:
pawn Code:
new gr[MAX_PLAYERS]; // we will create a new variable called "gr"
CMD:ghostrideron(playerid, params[]) //
{
new Float:x, Float:y, Float:z, veh;
GetPlayerPos(playerid, x, y, z);
veh = AddStaticVehicle(463, x, y, z, 3, 3, 3);
PutPlayerInVehicle(playerid, veh, 0);
SetTimerEx("gron", 1, false, "i", playerid);
SendClientMessage(playerid, 0xFF0000FF, "Ghost Rider: ON");
gr[playerid] = 1;
return 1;
}
CMD:ghostrideroff(playerid, params[])
{
SetTimerEx("groff", 1, false, "i", playerid);
gr[playerid] = 0;
SendClientMessage(playerid, 0xFF0000FF, "Ghost Rider: OFF");
return 1;
}
forward gron(playerid);
public gron(playerid)
{
if(gr[playerid] == 0) return 1;
new veh = GetPlayerVehicleID(playerid);
SetVehicleHealth(veh, 200);
SetTimerEx("gron1", 100, false, "i", playerid);
return 1;
}
forward gron1(playerid);
public gron1(playerid)
{
new veh = GetPlayerVehicleID(playerid);
SetVehicleHealth(veh, 1000);
SetTimerEx("gron", 1, false, "i", playerid);
return 1;
}
Use /ghostrideron when ready, and if you're bored about it, use /ghostrideroff.
Warnings:
It might backfire on high pingers.
Copyrights:
You can change name, do whatever shit you like here. It's just a simple filterscript after all.
Credits:
Credits to yugecin, which I was posted this thread, but I did not know he already posted this idea. Once again, Credits to yugecin for idea