Scripting tele markers
#2

What exactly do you want to do ? Do you want to make a command to teleport you somewhere ? if so, try this...

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if(strcmp(cmd, "/blahblahblah", true) == 0)
	{
		if (GetPlayerState(playerid) == 2)
		{
			new tmpcar = GetPlayerVehicleID(playerid);
			SetVehiclePos(tmpcar, 2503.1743,2773.1108,10.8203);
		}
		else
		{
			SetPlayerPos(playerid, 2503.1743,2773.1108,10.8203);
		}
		SetPlayerInterior(playerid,0);
		return 1;
	}
Im not sure what exactly you want to do...
Reply


Messages In This Thread
Scripting tele markers - by Enzo_Ferrari_V12 - 22.03.2009, 01:55
Re: Scripting tele markers - by *ToM* - 22.03.2009, 03:08
Re: Scripting tele markers - by Enzo_Ferrari_V12 - 22.03.2009, 04:55
Re: Scripting tele markers - by mascii - 22.03.2009, 06:03

Forum Jump:


Users browsing this thread: 1 Guest(s)