їMe ayudan?
#4

Aqui tienes:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  new Float:AplicarPocicion[MAX_PLAYERS][3];

  if(strcmp(cmdtext,"/savepos",true) == 0)
  {
    GetPlayerPos(playerid, AplicarPocicion[playerid][0], AplicarPocicion[playerid][1], AplicarPocicion[playerid][2]);
    SendClientMessage(playerid, 0xFFFFFFAA, "Posicion guardada.");
    return 1;
  }
 
  if(strcmp(cmdtext,"/gotopos",true) == 0)
  {
    SetPlayerPos(playerid, AplicarPocicion[playerid][0], AplicarPocicion[playerid][1], AplicarPocicion[playerid][2]);
    SendClientMessage(playerid, 0xFFFFFFAA, "Has sido teletrasportado a tu posicion guardada.");
    return 1;
  }
  return 0;
}
Saludos
Reply


Messages In This Thread
їMe ayudan? - by aRvaroMetal - 24.03.2010, 17:06
Re: їMe ayudan? - by CristianTdj - 24.03.2010, 19:45
Re: їMe ayudan? - by aRvaroMetal - 24.03.2010, 20:28
Re: їMe ayudan? - by Fedee! - 24.03.2010, 21:01
Re: їMe ayudan? - by Cesar_Biker - 24.03.2010, 21:01
Re: їMe ayudan? - by aRvaroMetal - 24.03.2010, 21:23
Re: їMe ayudan? - by xenowort - 24.03.2010, 21:33
Re: їMe ayudan? - by aRvaroMetal - 24.03.2010, 22:08
Re: їMe ayudan? - by xenowort - 24.03.2010, 22:10
Re: їMe ayudan? - by aRvaroMetal - 24.03.2010, 22:13

Forum Jump:


Users browsing this thread: 2 Guest(s)