Teleport help
#1

Hi,i what to make command /stadium,when player type /stadium to teleport him to stadium location.Can someone tell me how to do it,and i will add my coordinats.Thnks
Reply
#2

ZCMD:

pawn Код:
CMD:stadium(playerid, params[])
{
       SetPlayerPos(playerid, coordsX,coordsY,coordsZ);
       SendClientMessage(playerid, 0xFFFFFFFF, "You have been teleported to the stadium");

       return 1;
}
Reply
#3

Go type by ****** SA-MP interior ids, you will be see a lot of site's sith the coordinations and interior ids.
Reply
#4

I am not using ZCMD,its simple team DM script,so ZCMD not working.
Reply
#5

pawn Код:
if(!strcmp(cmdtext, "/stadium", true))
{
       SetPlayerPos(playerid, coordsX,coordsY,coordsZ);
       SendClientMessage(playerid, 0xFFFFFFFF, "You have been teleported to the stadium");
}
Reply
#6

Thanks man,you helped me a lot,if it works you get rep +
Reply
#7

Herp a derp, can't you do anything yourself?

pawn Код:
if(strcmp(cmdtext, "/stadium", true) == 0)
{
       SetPlayerPos(playerid, coordsX,coordsY,coordsZ);
       SendClientMessage(playerid, 0xFFFFFFFF, "You have been teleported to the stadium");
}
Reply
#8

http://weedarr.wikidot.com/interior
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)