teleport command error
#3

Quote:
Originally Posted by aco_SRBIJA
View Post
pawn Code:
SendClientMessage(COLOR_RED,"You have been teleported to islandairport");
U made fail there. it should be like

pawn Code:
SendClientMessage(playerid,COLOR_RED,"You have been teleported to islandairport");
U forgot playerid.
Ty verry much i will test it

EDIT: it says SERVER:Unkown Command
help me out please

pawn code
Code:
    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");
        //deze command teleport je naar islandairport
	return 1;
    }
    return 0;
}
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: 2 Guest(s)