10.06.2012, 22:50
como fasso pra essa arena da pra ir 2 player no maximo
PHP код:
if(strcmp(cmdtext, "/x1", true) == 0) {
if(VariableDeBloqueo[playerid] == 1) return SendClientMessage(playerid, -1, "Estб em uma arena para usar comandos novamente Digite /sair");
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s foi para o {FF00FF}X1 {FF0000}( /x1 )", pname);
SendClientMessageToAll(COLOR_YELLOW, string);
ResetPlayerWeapons(playerid);
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, -1416.3827, 1246.9246, 1039.8741);
SetPlayerFacingAngle(playerid, 273.7604);
SetPlayerArmour(playerid, 100.0);
SetPlayerHealth(playerid, 100.0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,4,0);
GivePlayerWeapon(playerid,26,9999);
GivePlayerWeapon(playerid,31,9999);
GivePlayerWeapon(playerid,24,9999);
GivePlayerWeapon(playerid,32,9999);