Can someone
#4

Код:
	if(strcmp(cmd, "/park",true) == 0)
	{
    if(IsPlayerConnected(playerid))
    {
		  if(PlayerInfo[playerid][pCarKey] >= 1)
		  {
				new Float:pX,Float:pY,Float:pZ;
	  		GetPlayerPos(playerid,pX,pY,pZ);
	  		new Float:pAngle;
	  		GetPlayerFacingAngle(playerid,pAngle);
				PlayerInfo[playerid][cLocationx] = Float:pX; 
				PlayerInfo[playerid][cLocationy] = Float:pY; 
				PlayerInfo[playerid][cLocationz] = Float:pZ; 
				PlayerInfo[playerid][cAngle] = Float:pAngle; 
				SendClientMessage(playerid,COLOR_WHITE, " You Have Parked Your Car In this place ");
				return 1;
			}
		}
		return 1;
	}
try this and tell me if it works didnt test it xD
Reply


Messages In This Thread
Can someone - by Torran - 10.02.2010, 23:26
Re: Can someone - by Onyx09 - 10.02.2010, 23:27
Re: Can someone - by Torran - 10.02.2010, 23:28
Re: Can someone - by Onyx09 - 10.02.2010, 23:41
Re: Can someone - by Torran - 11.02.2010, 09:33
Re: Can someone - by Onyx09 - 11.02.2010, 17:52
Re: Can someone - by Torran - 11.02.2010, 18:26

Forum Jump:


Users browsing this thread: 3 Guest(s)