24.03.2012, 16:15
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/hq", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, 213.9292, 1902.094, 17.64063);
new string[50];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,18);
format(string, sizeof(string), "%s has teleported to Blood Line HQ",name);
SendClientMessageToAll(COLOR_RED, string);
}
return 1;
}