22.03.2009, 03:08
What exactly do you want to do ? Do you want to make a command to teleport you somewhere ? if so, try this...
Im not sure what exactly you want to do...
Код:
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;
}

