Enter command
#1

How do I make this command can take two and three factions and members?



Код:
		if(strcmp(cmdtext, "/enter", true) == 0)
    {
    if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
	   {
		 if PlayerToPoint(5,playerid,-2719.9487,-318.0148,7.8438)
		 *then
		 {
		   SetPlayerPos(playerid,1212.019897,-28.663099,1000.953125);
		   SetPlayerInterior(playerid,3);
		   SendClientMessage(playerid,COLOR_1GREEN,"*** Bun venit in HQ-ul Al Qaeda!");
		   return 1;
		 }
		}
	}
Reply


Messages In This Thread
Enter command - by NekErM@N - 02.06.2011, 17:59
Re: Enter command - by Osviux - 02.06.2011, 18:03
Re: Enter command - by Trotty729 - 02.06.2011, 18:15
Re: Enter command - by Osviux - 02.06.2011, 18:19
Re: Enter command - by sleepysnowflake - 02.06.2011, 18:23
Re: Enter command - by NekErM@N - 02.06.2011, 18:39

Forum Jump:


Users browsing this thread: 1 Guest(s)