08.06.2015, 16:02
PHP код:
CMD:iniciarx1(playerid, params[])
{
new idplayer, string[158], aname[MAX_PLAYER_NAME], pname[MAX_PLAYER_NAME];
if(sscanf(params, "d", idplayer)) return SendClientMessage(playerid, -1, "[ERRO] Use: /iniciarx1 [id do adversбrio]");
if(!IsPlayerConnected(idplayer)) return SendClientMessage(playerid, -1, " [ERRO] Este adversбrio nгo esta conectado no servidor!");
SetPlayerInterior(playerid, 1);
SetPlayerPos(playerid, 1403.6039,-20.7303,1000.9115);
SetPlayerFacingAngle(playerid,90.9610);
SetPlayerInterior(idplayer, 1);
SetPlayerPos(idplayer, 1368.5532,-21.7691,1000.9219);
SetPlayerFacingAngle(idplayer,270.8138);
Contagem(playerid,idplayer);
GetPlayerName(playerid, aname, sizeof(aname));
GetPlayerName(idplayer, pname, sizeof(pname));
SendClientMessageToAll(azul, "|________________|EventoX1|________________|");
format(string, sizeof(string), "{4444FF}[X1]%s Contra %s !", aname, pname);
SendClientMessageToAll(-1, string);
return 1;
}
Queria Que Fosse Assim , /iniciarx1 [ID1] [ID2] So isso me ajudem pfv