11.03.2015, 15:53
Code:
COMMAND:clan(playerid, params[]) { new cmd[20]; if(sscanf(params, "s[20]", cmd)) { return SendClientMessage(playerid, COLOR_DGOLD, "CMD: /clan <weapons/leader/members/rank/base>"); } if(strcmp(cmd, "weapons", true) == 0) { //Weapon Code } if(strcmp(cmd, "leader", true) == 0) { //Leader Code } if(strcmp(cmd, "members", true) == 0) { //Members Code } if(strcmp(cmd, "rank", true) == 0) { //Rank Code } if(strcmp(cmd, "base", true) == 0) { //Base Code } return 1; }
And use that code for Base entering, car entering, invite code where you set /clan invite [playerid] [id] and PlayerInfo[playerid][Member] = 1 etc...
Or use some finished systems...