24.04.2014, 04:44
pawn Код:
stock Teleport(playerid, telename[], teleshort)
{
new string[128], playername[24];
GetPlayerName(playerid,playername);
format(string, sizeof(string), "{E6E6FA}*%s se teletransporto a %s (/%s)!", playername, telename, teleshort);
SendClientMessageToAll( -1, string ); // replace -1 by color you want
}
Quote:
|
for that u need to add coords of place along with its name in a enum
|
i mean look at his purpose he is trying to make it like Teleport(playerid,"Sanfierro", "sf"); and probably he is gonna use it in some command or otherway.


