23.03.2011, 07:53
You can do something like this
pawn Код:
if(strcmp("/tele", cmd, true) == 0)
{
new str1[128];
new names[MAX_PLAYER_NAME];
new Float:AX, Float:AY, Float:AZ;
GetPlayerName(playerid, names, sizeof(names));
AX = 123;
AY = 123;
AZ = 123;
SetPlayerPos(playerid, AX, AY, AZ);
format(str1, sizeof(str1), "%s teleported to %f %f %f", names, Float:AX, Float:AY, Float:AZ);
SendClientMessageToAll(ADMINFS_MESSAGE_COLOR, str1);
return true;
}