Teleport Cmd Question
#1

Hi can u tell me what's wrong in my FS?!
i search on net and i cant find the mistake in my code.. btw im still beginner ...

Код:
if (strcmp(cmdtext,"/battle",true))
	{
        SetPlayerPos(playerid, 1760.2731,201.5875,25.8611);
    	SendClientMessage(playerid, blue, "You were teleported to the battle field!");
    	new string[52];
		GetPlayerName(playerid, string, MAX_PLAYER_NAME);
		format(string, sizeof string, "%s was teleported to the battlefield!", string);
		SendClientMessageToAll(ltblue, string);
        return 1;
	}
	return 0;
}
compilation and runing, no problems in game i type /battle, but it doesnt teleport me
btw can someone after this tell me how to set countdown in the teleport, like
5-4-3-2-1 and teleport!
Reply


Messages In This Thread
Teleport Cmd Question - by RCS - 13.12.2012, 21:15
Re: Teleport Cmd Question - by RCS - 13.12.2012, 21:24
Re: Teleport Cmd Question - by Riddy - 13.12.2012, 21:51
Re: Teleport Cmd Question - by RCS - 14.12.2012, 07:20
Re: Teleport Cmd Question - by Riddy - 14.12.2012, 10:28
Re: Teleport Cmd Question - by RCS - 14.12.2012, 15:13
Re: Teleport Cmd Question - by Riddy - 14.12.2012, 15:58
Re: Teleport Cmd Question - by RCS - 14.12.2012, 18:23
Re: Teleport Cmd Question - by RCS - 14.12.2012, 18:25

Forum Jump:


Users browsing this thread: 1 Guest(s)