Tp with car...
#3

LOL now i cant enter on foot just on car..

Код:
 	if(!strcmp(cmdtext, "/prisongate1", true) || strcmp(cmd, "/pg1", true) == 0)
	{
 	    if(IsPlayerConnected(playerid))
		{
		if (GetPlayerState(playerid) == 2)
                {
		        if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pAdminDuty] == 1)
		        {
		            if(IsPlayerInRangeOfPoint(playerid, 10,1825.6194,-1538.4036,13.5469))
		            {
					new tmpcar = GetPlayerVehicleID(playerid);
					SetVehiclePos(tmpcar, 1816.2894,-1536.4828,13.3006);
					TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
					LinkVehicleToInterior(tmpcar, 0);
					SetPlayerVirtualWorld(playerid, 0);
				}
				else
				{
					SafeSetPlayerPos(playerid, 1816.2894,-1536.4828,13.3006);
					SetPlayerVirtualWorld(playerid, 0);
					SafeSetPlayerInterior(playerid,0);
					new y, m, d;
					new h,mi,s;
					getdate(y,m,d);
					gettime(h,mi,s);
					format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s [CMD] -> /pddown",d,m,y,h,mi,s,sendername);
					CommandLog(string);
					}
		        }
		    }
		}
		return 1;
 	}
Reply


Messages In This Thread
Tp with car... - by viddo - 03.03.2012, 11:34
Re: Tp with car... - by Chris_Morrison - 03.03.2012, 11:37
Re: Tp with car... - by viddo - 03.03.2012, 12:41
Re: Tp with car... - by Max_Coldheart - 03.03.2012, 12:54
Re: Tp with car... - by Nuke547 - 03.03.2012, 13:42
Re: Tp with car... - by viddo - 03.03.2012, 14:27

Forum Jump:


Users browsing this thread: 1 Guest(s)