Abaut saving
#2

I'll assume 0=male and 1=female but it could be the opposite.

pawn Код:
if(!strcmp(cmdtext, "/command", true)) // Or whatever command system you use
{
    if(PlayerInfo[playerid][Sex] == 1) return SendClientMessage(playerid, red, "Only males can use this command.");
    // code to do if they are male
}
Reply


Messages In This Thread
Abaut saving - by elefante - 21.11.2011, 14:06
Re: Abaut saving - by MP2 - 22.11.2011, 01:49
Re: Abaut saving - by Camacorn - 22.11.2011, 02:17
Re: Abaut saving - by MP2 - 22.11.2011, 07:07

Forum Jump:


Users browsing this thread: 1 Guest(s)