Commands interfering.
#4

Quote:
Originally Posted by DJDhan
Pff Use this:
Код:
if(!strcmp(cmdtext, "/cellin", true, 7)==0)
{
  if(TakingTut[playerid] == 1) return SendClientMessage(playerid, COLOR_GREY, "You are viewing the tutorial. You cannot use this command now.");
  if(!IsPlayerInAnyVehicle(playerid))
  {
  SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
  }
  return 1;
}
if(!strcmp(cmdtext, "/cellout", true, 8)==0)
{
  if(TakingTut[playerid] == 1) return SendClientMessage(playerid, COLOR_GREY, "You are viewing the tutorial. You cannot use this command now.");
  if(!IsPlayerInAnyVehicle(playerid))
  {
  SetPlayerSpecialAction(playerid, SPECIAL_ACTION_STOPUSECELLPHONE);
  }
  return 1;
}
That shit gave me phat tag mismatches. Someone who knows what they're talking about, help please? Sorry bout the double post.
Reply


Messages In This Thread
Commands interfering. - by IcyBlight - 01.06.2010, 18:10
Re: Commands interfering. - by DJDhan - 01.06.2010, 18:20
Re: Commands interfering. - by IcyBlight - 01.06.2010, 18:25
Re: Commands interfering. - by IcyBlight - 01.06.2010, 22:36
Re: Commands interfering. - by Antonio [G-RP] - 01.06.2010, 22:39
Re: Commands interfering. - by IcyBlight - 01.06.2010, 23:03
Re: Commands interfering. - by IcyBlight - 02.06.2010, 09:50
Re: Commands interfering. - by IcyBlight - 03.06.2010, 08:10

Forum Jump:


Users browsing this thread: 1 Guest(s)