22.07.2010, 04:54
I've got dynamic clan system where people can create their own clan which appears in a [] tag.
Each clan created saves in a new .ini file with it's name (Just like players) in the "Clans" folder.
What I wanna do is getting a "/cc [text]" command that only appears for people in the clan of "playerid".
I've been trying to do this but well... I failed.
Note: A clan could have ANY name, it's set by the player via "/clan create" command.
I use this for detecting the player's clan "PlayerInfo[playerid][pClan]"
Can someone help ?
Each clan created saves in a new .ini file with it's name (Just like players) in the "Clans" folder.
What I wanna do is getting a "/cc [text]" command that only appears for people in the clan of "playerid".
I've been trying to do this but well... I failed.
Note: A clan could have ANY name, it's set by the player via "/clan create" command.
I use this for detecting the player's clan "PlayerInfo[playerid][pClan]"
Can someone help ?