Little help, please! :)
#1

I'm having a problem with setting these three things into a command, could anybody help me?
It would be great! =)

These three =
if(PlayerInfo[playerid][pFaction] == 10)
if(PlayerInfo[playerid][pFaction] == 0)
if(PlayerInfo[playerid][pFaction] == 6)

What i want :
I want these three to get mixed into one sentence so i can easily create new /commands could anybody help with that ? I beg you, please

What i want it to look like.
Код:
	if(strcmp(cmd, "/hey", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
	  {
	  if(PlayerInfo[playerid][pFaction] == 10) if(PlayerInfo[playerid][pFaction] == 6) if(PlayerInfo[playerid][pFaction] == 0)
Reply


Messages In This Thread
Little help, please! :) - by Guso - 22.12.2009, 19:10
Re: Little help, please! :) - by Correlli - 22.12.2009, 19:15
Re: Little help, please! :) - by Guso - 22.12.2009, 19:42

Forum Jump:


Users browsing this thread: 2 Guest(s)