script teleport what do i wrong
#2

you dont use the else function in that use this


Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/desert", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 405.114,2441.080,16.312);
		return 1;
	}
	if (strcmp("/myteleport", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, -1967.8365, 2956.9823, 12.9375);
		return 1;
	}
	return 0;
}
}
Reply


Messages In This Thread
script teleport what do i wrong - by dekrumel - 16.04.2011, 18:34
Re: script teleport what do i wrong - by CrazyBlob - 16.04.2011, 18:38
AW: script teleport what do i wrong - by dekrumel - 16.04.2011, 18:50
AW: script teleport what do i wrong - by dekrumel - 16.04.2011, 19:01

Forum Jump:


Users browsing this thread: 1 Guest(s)