11.09.2013, 18:42
Intenta asн:
pawn Код:
CMD:san(playerid, params[], help){
if (!IsPlayerAdmin(playerid)) return 0;
if(isnull(params)) return SendClientMessage(playerid, -1, "Use /san [id] [razуn]. Ejemplo: /san 5 ASR y RK");
if(!IsPlayerConnected(strval(params))) SendClientMessage(playerid, -1, "Jugador no conectado.");
SetPlayerPos(strval(params), 346.870025,309.259033,999.155700);
SetPlayerInterior(strval(params), 6);
new str[124], Nick[MAX_PLAYER_NAME];
GetPlayerName(playerid, Nick, sizeof(Nick));
format(str, sizeof(str), "%s ha sido sancionado. Razуn: %s", Nick, params[1]);
for (new i; i <GetMaxPlayers(); i++)
{
SendClientMessage(i, 0x00FFB7FF, str);
}
return 1;}