Teleport script?
#5

Quote:
Originally Posted by pds2012
Посмотреть сообщение
iManakoss i just need to corect your command here.

here is the right command

pawn Код:
if (strcmp("/sf", cmdtext, true, 10) == 0)
{
    new string[128];
    new pname[128];
    GetPlayerName(playerid,pname,sizeof(pname));
    format(string, sizeof(string), "(Teleport)Player %s(%d) has teleported to San Fierro (/sf)",pname,playerid);
    SendClientMessageToAll(COLOR_WHITE,string);
    SetPlayerPos(playerid, -1513.7695, 795.8688, 7.1875, 31.2638 );
    return 1;
}
Player name is up to 128 chars ?

/fail
Reply


Messages In This Thread
Teleport script? - by bebothekillar - 16.02.2013, 09:51
Re: Teleport script? - by iManakoss - 16.02.2013, 10:02
Re: Teleport script? - by Djole1337 - 16.02.2013, 10:03
Re: Teleport script? - by Patrick - 16.02.2013, 10:04
Re: Teleport script? - by Djole1337 - 16.02.2013, 10:06

Forum Jump:


Users browsing this thread: 3 Guest(s)