Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Is this server sided?
Is this server sided? [message #288734] Sat, 06 October 2007 08:07 Go to previous message
mrãçķz is currently offline  mrãçķz
Messages: 3069
Registered: August 2007
Karma:
General (3 Stars)
Permabanned for trying and failing DDoS
hey guys is this server sided if i change
sprintf(message,"Msg %s Has Purchased A
to
sprintf(message,"Tmsg %s Has Purchased A
(i have it in my Server data folder, its in Kamuix.cpp)
or do the clients need to download it?



















void Kamuix_Announce_Preset_Buy::Entered(GameObject *obj,GameObject *enter)
{
const char *preset;
int x;
int cost;
Vector3 spawn_position;
x = Get_Int_Parameter("Player_Type");
if (CheckPlayerType(enter,x))
{
return;
}
char message[1000];
preset = Get_Parameter("Preset_Name");
cost = Get_Int_Parameter("Cost");
if (cost <= Commands->Get_Money(enter))
{
cost = -cost;
spawn_position = Get_Vector3_Parameter("location");
Commands->Give_Money(enter,(float)cost,0);
Commands->Create_Object(preset,spawn_position);
sprintf(message,"Msg %s Has Purchased A %s",Get_Player_Name(enter),Get_Parameter("DisplayName"));
Console_Input(message);
}
else
{
sprintf(message,"ppage %d You do not have enouph money to purchase this!!",Get_Player_ID(enter));
Console_Input(message);
}
}

[Updated on: Sat, 06 October 2007 08:08]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Boink sound replacement...
Next Topic: i need help i cant create an account on cnc generals zh cause it says the password is incorect
Goto Forum:
  


Current Time: Fri Jan 24 11:34:57 MST 2025

Total time taken to generate the page: 0.01390 seconds