teleport command error
#10

Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/islandairport", cmdtext, true, 14) == 0)
	{
 		SetPlayerPos(playerid, 3484.4885,-751.6512,4.4455);// @ teleport islandairport
   		SendClientMessage(playerid, COLOR_RED,"You have been teleported to islandairport");
   		return 1;
	}
	return 1;
}
If that doesn't work, make sure you're typing the command correctly in SA:MP.
Reply


Messages In This Thread
teleport command error - by BoyDenker - 01.02.2012, 17:28
Re: teleport command error - by aco_SRBIJA - 01.02.2012, 17:32
Re: teleport command error - by BoyDenker - 01.02.2012, 17:35
Re: teleport command error - by aco_SRBIJA - 01.02.2012, 18:04
Re: teleport command error - by BoyDenker - 01.02.2012, 18:16
Re: teleport command error - by BoyDenker - 01.02.2012, 18:34
Re: teleport command error - by geerdinho8 - 01.02.2012, 18:37
Re: teleport command error - by -CaRRoT - 01.02.2012, 18:39
Re: teleport command error - by BoyDenker - 01.02.2012, 18:47
Re: teleport command error - by KingHual - 01.02.2012, 18:48

Forum Jump:


Users browsing this thread: 3 Guest(s)