Should this work?
#1

Hi everyone, i'm trying to create a car /park command but i don't think it works properly it just don't save the position
Код:
        {
            new
	   		Float:Veh1_x,
	  	    Float:Veh1_y,
			Float:Veh1_z;
	 		GetVehiclePos(playerid,Veh1_x,Veh1_y,Veh1_z);
			PlayerInfo[playerid][pVeh1_x] = Veh1_x;
			PlayerInfo[playerid][pVeh1_y] = Veh1_y;
			PlayerInfo[playerid][pVeh1_z] = Veh1_z;
			SaveAccountStats(playerid);
			GameTextForPlayer(playerid,"~h~~w~Your car have been parked here! Next time it will spawn~n~~h~~w~~h~~r~ here!",2500,1);
			return 1;

          }
am i doing something wrong??
Reply


Messages In This Thread
Should this work? - by MatZZPL - 10.11.2012, 21:21
Re: Should this work? - by Finn - 10.11.2012, 21:24
Re: Should this work? - by MatZZPL - 10.11.2012, 21:35

Forum Jump:


Users browsing this thread: 1 Guest(s)