/pullincar
#7

Код:
	if(strcmp(cmd, "/pullincar", true) == 0)
	{
		if(IsPlayerConnected(playerid))
		{
			tmp = strtok(cmdtext, idx);
			if(!strlen(tmp))
			{
				SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /pullincar [player id]");
				return 1;
			}
			new person;
			person = strval(tmp);
			new playerVehicle = GetPlayerVehicleID(playerid);
			PutPlayerInVehicle(person, playerVehicle, 3);
		}
		return 1;
	}
Something I just brewed up, not sure if it works but it could be a start.
Reply


Messages In This Thread
/pullincar - by Battleskull - 09.10.2007, 00:56
Re: /pullincar - by Pixels^ - 09.10.2007, 01:02
Re: /pullincar - by Towlies - 09.10.2007, 01:04
Re: /pullincar - by X_Cutter - 09.10.2007, 01:38
Re: /pullincar - by Towlies - 09.10.2007, 02:06
Re: /pullincar - by Battleskull - 09.10.2007, 03:18
Re: /pullincar - by Bromly - 09.10.2007, 07:10
Re: /pullincar - by Battleskull - 09.10.2007, 11:55
Re: /pullincar - by X_Cutter - 09.10.2007, 12:00
Re: /pullincar - by Bromly - 09.10.2007, 12:03

Forum Jump:


Users browsing this thread: 1 Guest(s)