24.11.2011, 15:46
Ola galera gostaria de saber como colocar pra nao contar score quando a pessoa matar no /minigun:
pawn Код:
if(strcmp(cmdtext, "/minigun", true) == 0)
{
SetPlayerVirtualWorld(playerid, 8);
ResetPlayerWeapons(playerid);
new MinigunDM[128], playerName[MAX_PLAYER_NAME], RandomSpawn = random(11);
GetPlayerName(playerid, playerName, MAX_PLAYER_NAME);
if (RandomSpawn == 0) {
InCar[playerid] = false;
BlockCheat[playerid] = true;
SetPlayerPos(playerid, 2740.6250,-2435.7224,13.6453);
SetPlayerFacingAngle(playerid, 247.9706);
}
if (RandomSpawn == 1) {
InCar[playerid] = false;
BlockCheat[playerid] = true;
SetPlayerPos(playerid, 2732.0576,-2479.6616,17.5937);
SetPlayerFacingAngle(playerid, 329.4380);
}
if (RandomSpawn == 2) {
InCar[playerid] = false;
BlockCheat[playerid] = true;
SetPlayerPos(playerid, 2750.4324,-2501.9856,13.5622);
SetPlayerFacingAngle(playerid, 46.8321);
}
if (RandomSpawn == 3) {
InCar[playerid] = false;
BlockCheat[playerid] = true;
SetPlayerPos(playerid, 2779.1577,-2539.4387,16.2244);
SetPlayerFacingAngle(playerid, 121.7195);
}
if (RandomSpawn == 4) {
InCar[playerid] = false;
BlockCheat[playerid] = true;
SetPlayerPos(playerid, 2790.9666,-2495.0115,13.6464);
SetPlayerFacingAngle(playerid, 196.2701);
}
if (RandomSpawn == 5) {
InCar[playerid] = false;
BlockCheat[playerid] = true;
SetPlayerPos(playerid, 2787.6602,-2463.4355,13.6337);
SetPlayerFacingAngle(playerid, 247.9706);
}
if (RandomSpawn == 6) {
InCar[playerid] = false;
BlockCheat[playerid] = true;
SetPlayerPos(playerid, 2779.0688,-2410.7122,13.6358);
SetPlayerFacingAngle(playerid, 329.4380);
}
if (RandomSpawn == 7) {
InCar[playerid] = false;
BlockCheat[playerid] = true;
SetPlayerPos(playerid, 2770.7979,-2386.9375,16.2244);
SetPlayerFacingAngle(playerid, 46.8321);
}
if (RandomSpawn == 8) {
InCar[playerid] = false;
BlockCheat[playerid] = true;
SetPlayerPos(playerid, 2725.8982,-2438.3203,27.3156);
SetPlayerFacingAngle(playerid, 121.7195);
}
if (RandomSpawn == 9) {
InCar[playerid] = false;
BlockCheat[playerid] = true;
SetPlayerPos(playerid, 2714.6912,-2463.9238,29.0870);
SetPlayerFacingAngle(playerid, 196.2701);
SetCameraBehindPlayer(playerid);
}
if (RandomSpawn == 10) {
InCar[playerid] = false;
BlockCheat[playerid] = true;
SetPlayerPos(playerid, 2702.8577,-2484.5320,26.9798);
SetPlayerFacingAngle(playerid, 121.7195);
}
GivePlayerWeapon(playerid, 38, 999999);
SetPlayerInterior(playerid, 0);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
format(MinigunDM, sizeof(MinigunDM), "{FAE605}[DUELO]: {FA053A}'%s' {FAE605}Foi Para o Combate Minigun. Quem vai?{FA053A}( /Minigun )", playerName);
SendClientMessageToAll(COR_ROXO, MinigunDM);
return 1;
}