hi
i tried to get it to detect model\none as a fake player because even the default in jk2 is model\kyle/default
it doesn't look for it proper because i think, it thinks that model\none the \n is next line :S
i dont want it to search for just "none" in the userinfo i want it to do specifically model\none
How would I make it so that the anti fake players checks if the model is set to none?
model into model\none
Re: model into model\none
Assuming char *userinfo contains the userinfo string,
returns a char* containing the model, or "none". (check if Info_ValueForKey has the same name in JK2)
Therefore all you have to do is a check such as
Code: Select all
Info_ValueForKey (userinfo, "model")
Therefore all you have to do is a check such as
Code: Select all
if(!strcmp(Info_ValueForKey (userinfo, "model"), "none")) {
// what to do when model is "none"
}
No. You might want to google on "escape sequences".t doesn't look for it proper because i think, it thinks that model\none the \n is next line :S
{<§ Gamall Wednesday Ida §>}
{ Mods and Programs - Mods TES-IV Oblivion }
{ Mods and Programs - Mods TES-IV Oblivion }
Re: model into model\none
cool, thanks
Who is online
Users browsing this forum: No registered users and 342 guests