Make this IF right please ( else problem )
#6

Quote:
Originally Posted by CentyPoo
Посмотреть сообщение
pawn Код:
COMMAND:showssbadge(playerid, params[])
{
     new targetid1
     if(sscanf(params, "u", targetid1)) return SendClientMessage(playerid,COLOR_YELLOW,"Usage: /showssbadge[PlayerID]");
     if(PlayerInfo[playerid][pSS] >= 1)
     {
          SendClientMessage(targetid1, COLOR_WHITE, "** Secret Society **");
          SendClientMessage(targetid1, COLOR_YELLOW, "** Government Worker");
     }
     else
     {
          SendClientMessage(playerid, COLOR_YELLOW, "You do not own a badge");
     }
     return 1;
}
Try this?
Thank you for showing me that, it worked. Thanks again!
Reply


Messages In This Thread
Make this IF right please ( else problem ) - by gnoomen2 - 07.08.2012, 17:12
Re: Make this IF right please - by RedFusion - 07.08.2012, 17:14
Re: Make this IF right please - by Dan. - 07.08.2012, 17:18
Re: Make this IF right please - by gnoomen2 - 07.08.2012, 17:21
Re: Make this IF right please ( else problem ) - by CentyPoo - 07.08.2012, 17:26
Re: Make this IF right please ( else problem ) - by gnoomen2 - 07.08.2012, 17:31

Forum Jump:


Users browsing this thread: 1 Guest(s)