Command [+REP]
#1

I ordered " / towveh " for the dealership , and when you have a personal car with help from the command " / towveh " to respawn ! But it does not work , I do not respawn car!
Explain the functions: VehiclesInfo[v][vOwner] => ID player from database
PlayerInfo[playerid][pID] => ID player from database

Код HTML:
CMD:towveh(playerid, params[])
{
	for(new v = 0; v < MAX_VEHICLES; v++)
	{
		if(VehiclesInfo[v][vOwner] == PlayerInfo[playerid][pID])
		{
			SetVehicleToRespawn(v);
	 	}
	 	return 1;
	}
	return 1;
}
Reply


Messages In This Thread
Command [+REP] - by norton2 - 29.01.2015, 17:25
Re: Command [+REP] - by Sime30 - 29.01.2015, 17:33
Re: Command [+REP] - by norton2 - 29.01.2015, 17:50
Re: Command [+REP] - by Nicker - 29.01.2015, 17:58
Re: Command [+REP] - by HydraHumza - 29.01.2015, 17:58
Re: Command [+REP] - by norton2 - 29.01.2015, 18:02
Re: Command [+REP] - by HydraHumza - 29.01.2015, 18:33
Re: Command [+REP] - by norton2 - 29.01.2015, 18:46
Re: Command [+REP] - by HydraHumza - 29.01.2015, 18:53
Re: Command [+REP] - by norton2 - 29.01.2015, 18:59

Forum Jump:


Users browsing this thread: 1 Guest(s)