Home » Renegade Discussions » Mod Forum » Scripts Part 3
Re: Scripts Part 3 [message #267235 is a reply to message #267232] |
Tue, 19 June 2007 04:00 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma:
|
General (3 Stars) |
|
|
joe937465 wrote on Tue, 19 June 2007 06:11 | how is this edit?
}
else if (stricmp(Msg2,"!boss") == 0)
{
else if (stricmp(Get_Player_Name_By_ID(ID),"<nick>") == 0) {
Change_Character(obj,"Mutant_3Boss_Petrova");
}
else if (stricmp(Get_Player_Name_By_ID(ID),""<nick>") == 0) {
Change_Character(obj,"Mutant_3Boss_Petrova");
}
else if (stricmp(Get_Player_Name_By_ID(ID),""<nick>") == 0) {
Change_Character(obj,"Mutant_3Boss_Petrova");
}
else if (stricmp(Get_Player_Name_By_ID(ID),""<nick>") == 0) {
Change_Character(obj,"Mutant_3Boss_Petrova");
}
else if (stricmp(Get_Player_Name_By_ID(ID),""<nick>") == 0) {
Change_Character(obj,"Mutant_3Boss_Petrova");
}
else if (stricmp(Get_Player_Name_By_ID(ID),""<nick>") == 0) {
Change_Character(obj,"Mutant_3Boss_Petrova");
}
else if (stricmp(Get_Player_Name_By_ID(ID),""<nick>") == 0) {
Change_Character(obj,"Mutant_3Boss_Petrova");
}
else if (stricmp(Get_Player_Name_By_ID(ID),"l"<nick>") == 0) {
Change_Character(obj,"Mutant_3Boss_Petrova");
}
else if (stricmp(Get_Player_Name_By_ID(ID),""<nick>") == 0) {
Change_Character(obj,"Mutant_3Boss_Petrova");
}
else if (stricmp(Get_Player_Name_By_ID(ID),""<nick>") == 0) {
Change_Character(obj,"Mutant_3Boss_Petrova");
}
else if (stricmp(Get_Player_Name_By_ID(ID),""<nick>") == 0) {
Change_Character(obj,"Mutant_3Boss_Petrova");
}
else if (stricmp(Get_Player_Name_By_ID(ID),""<nick>") == 0) {
Change_Character(obj,"Mutant_3Boss_Petrova");
}
}
}
}
|
The first " else if (stricmp(Get_Player_Name_By_ID(ID),"<nick>") == 0) {
" you need to remove the else, other then that it looks fine to me.
joe937465 wrote on Tue, 19 June 2007 06:11 |
i tryed to make a script liek this but i dont know where to start can yuo drop me some hints?
|
You still havn't answered if it is something you want to do as part of a command like !spyme, or you want to make a player from the purchase terminal for all people to buy like this :/
joe937465 wrote on Tue, 19 June 2007 06:11 |
i looked and cant find it /;
|
Open crates.cpp, scroll to there you see the part that is recognisable as the beginning of the spy crate. After the code that should look something like "Change_Character(obj,"sbhpresetname"); there will be scripts attached to the player to make them ignored by base defence. This is what you are looking for.
[Updated on: Tue, 19 June 2007 04:01] Report message to a moderator
|
|
|
|
|
Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Sat, 16 June 2007 05:53
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Sat, 16 June 2007 12:42
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Sat, 16 June 2007 16:16
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Sat, 16 June 2007 17:34
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Sat, 16 June 2007 18:37
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Sun, 17 June 2007 04:20
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Sun, 17 June 2007 14:50
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Mon, 18 June 2007 00:09
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Mon, 18 June 2007 10:08
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Mon, 18 June 2007 21:42
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Tue, 19 June 2007 00:20
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Tue, 19 June 2007 02:53
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Tue, 19 June 2007 04:00
|
|
|
Re: Scripts Part 3
By: reborn on Tue, 19 June 2007 10:37
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Tue, 19 June 2007 16:11
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Tue, 19 June 2007 16:58
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Wed, 20 June 2007 00:20
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: Tunaman on Wed, 20 June 2007 01:30
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: reborn on Wed, 20 June 2007 15:21
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
By: jnz on Wed, 20 June 2007 16:41
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
|
|
Re: Scripts Part 3
|
Goto Forum:
Current Time: Sat Dec 21 18:23:53 MST 2024
Total time taken to generate the page: 0.01396 seconds
|