[SOLVED] Teleporting...
#1

Hi guys i have this script
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/test", cmdtext, true, 10) == 0)
	{
	if (IsPlayerInAnyVehicle(playerid)) {
	SetVehiclePos(GetPlayerVehicleID(playerid), 1234.16978, 1252.26287, 6126.62168);
	}
	else {
	SetPlayerPos(playerid, 1234.16978, 1252.26287, 6126.62168);
	}
}
Oh sorry i meant that it teleports me but it sends me out SERVER: Unknown Command
Reply


Messages In This Thread
[SOLVED] Teleporting... - by yoan103 - 15.02.2010, 14:54
Re: Teleporting... - by dice7 - 15.02.2010, 14:56
Re: Teleporting... - by smeti - 15.02.2010, 15:00
Re: Teleporting... - by Fedee! - 15.02.2010, 15:01
Re: Teleporting... - by BlackFoX - 15.02.2010, 15:02

Forum Jump:


Users browsing this thread: 2 Guest(s)