Help me with this command
#1

Код:
	if(strcmp(cmd, "/stranger", true) == 0)
	{
	  SetPlayerName(playerid,"Stranger");
	  return 1;
	}
Well I have been working on this so that when the person does /stranger it makes his name stranger rather then his old name but how would I make it so that if he does /stranger again his old name would come back?

EX:
Tommy types /stranger
tommy's name changes to stranger
tommy types /stranger again
tommy's name changes back to tommy

Does anyone how I would do that?

Thanks,
tommy
Reply


Messages In This Thread
Help me with this command - by Tommy_Mandaz - 30.06.2009, 04:18
Re: Help me with this command - by godforbid - 01.07.2009, 09:32

Forum Jump:


Users browsing this thread: 1 Guest(s)