Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Write to ini with Kill script using player's nick and join function not working right
Re: Write to ini with Kill script using player's nick and join function not working right [message #379225 is a reply to message #379208] Wed, 08 April 2009 04:13 Go to previous messageGo to previous message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma:
General (3 Stars)
if (strncmp(side,"commander",3)==0) {


This is also wrong, you can comparing "com" with side, not "commander".

Use
if(strcmp(side, "commander") == 0)
{
 
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: Glitch or No Glitch?
Next Topic: Mods
Goto Forum:
  


Current Time: Fri Nov 01 03:21:18 MST 2024

Total time taken to generate the page: 0.00947 seconds