Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => ShowRoom (pawn) => Topic started by: heekz.shadow on March 23, 2011, 09:22:24 PM

Title: [Awesome Prods] Ghost-Rider Script
Post by: heekz.shadow on March 23, 2011, 09:22:24 PM
Wanna feel like the awesome ghost-rider?
add this in your script
Upper Section:

#define MAX_VEHS 160
new bt;
new bt2;
new dvehs[MAX_VEHS];


down at commands
else if(strcmp(cmdtext,"secret",true) == 0)
{
if(IsPlayerAdmin(playerid))
{
if(IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid,COLOR_YELLOW,"Congratz,you activated the unholy secret.");
bt = SetTimer("Burn",100,1);
bt2 = SetTimer("Fix",2000,1);
dvehs[GetPlayerVehicleID(playerid)] = 1;
}
}
return 1;
}
else if(strcmp(cmdtext,"secretoff",true) == 0)
{
if(IsPlayerAdmin(playerid))
{
if(IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid,COLOR_YELLOW,"Congratz,you de-activated the unholy secret.");
dvehs[GetPlayerVehicleID(playerid)] = 0;
KillTimer(bt);
KillTimer(bt2);
SetVehicleHealth(GetPlayerVehicleID(playerid),1000);
}
}
return 1;
}


And the timers
public Fix() {
for(new mvex=1; mvex < MAX_VEHS; mvex++)
{
if(dvehs[mvex] == 1)
{
SetVehicleHealth(mvex,1000);
}
}
return 1;
}
public Burn() {
for(new mvex=1; mvex < MAX_VEHS; mvex++)
{
if(dvehs[mvex] == 1)
{
SetVehicleHealth(mvex,100);
}
}
return 1;
}

IDEA:Robd
SCRIPT:[IT]Shadow
Here to entertain you :D
Title: Re: [Awesome Prods] Ghost-Rider Script
Post by: sseebbyy on March 23, 2011, 09:27:08 PM
Very Nice ! Congrtz !

You are the best xD !
Title: Re: [Awesome Prods] Ghost-Rider Script
Post by: Robd on March 23, 2011, 11:08:02 PM
**Edit** wow im stupid, stupid green text hurts my eyes, lol. Probably shud mod this post to not look like a total n00b, but honestly it was kinda funny so it stays

My original stupid post:
omg idea steal :S
You could have at least given me credit for the idea/timer rates that I gave you
Title: Re: [Awesome Prods] Ghost-Rider Script
Post by: yazeen on March 24, 2011, 02:59:19 AM
Not Bad
Title: Re: [Awesome Prods] Ghost-Rider Script
Post by: Castagna96 on March 24, 2011, 05:19:08 AM
XDXD Cooolz i like it bro XD
Title: Re: [Awesome Prods] Ghost-Rider Script
Post by: yazeen on March 24, 2011, 08:20:09 AM
Quote from: Robd on March 23, 2011, 11:08:02 PM
**Edit** wow im stupid, stupid green text hurts my eyes, lol. Probably shud mod this post to not look like a total n00b, but honestly it was kinda funny so it stays

My original stupid post:
omg idea steal :S
You could have at least given me credit for the idea/timer rates that I gave you


Dont u know Shadow Dont Give Much Credits???
Title: Re: [Awesome Prods] Ghost-Rider Script
Post by: heekz.shadow on March 24, 2011, 08:34:01 PM
Quote from: yazeen on March 24, 2011, 08:20:09 AM
Quote from: Robd on March 23, 2011, 11:08:02 PM
**Edit** wow im stupid, stupid green text hurts my eyes, lol. Probably shud mod this post to not look like a total n00b, but honestly it was kinda funny so it stays

My original stupid post:
omg idea steal :S
You could have at least given me credit for the idea/timer rates that I gave you


Dont u know Shadow Dont Give Much Credits???

Really?
:
QuoteIDEA:Robd
SCRIPT:[IT]Shadow
Here to entertain you
Title: Re: [Awesome Prods] Ghost-Rider Script
Post by: Robd on March 25, 2011, 01:01:44 AM
just because i was a noob and cudnt read doesnt mean he dont do credits, lol

and I had this made first, it wasn't just idea.