• Welcome to Vice City Multiplayer.
 

[Awesome Prods] Ghost-Rider Script

Started by heekz.shadow, March 23, 2011, 08:22:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

heekz.shadow

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


Pro Scripter[/b][/i][/u]

sseebbyy

#1
Very Nice ! Congrtz !

You are the best xD !

Robd

#2
**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
Hello, this is Robd from the past.
If you are seeing this I have either posted something stupid, forgotten something, started a stupid topic, or a combination of the three.

Please forgive us for this mistake.

Regards, management

yazeen


Castagna96


yazeen

Quote from: Robd on March 23, 2011, 10: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???

heekz.shadow

Quote from: yazeen on March 24, 2011, 07:20:09 AM
Quote from: Robd on March 23, 2011, 10: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


Pro Scripter[/b][/i][/u]

Robd

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.
Hello, this is Robd from the past.
If you are seeing this I have either posted something stupid, forgotten something, started a stupid topic, or a combination of the three.

Please forgive us for this mistake.

Regards, management