Qual й o erro ? lol
#1

erro:
Код:
C:\Users\YaaN\Desktop\MiniMissao\gamemodes\VPDrift.pwn(1356) : error 021: symbol already defined: "cmd_sair"
Linha:
pawn Код:
COMMAND:sair(playerid, params[])
   { // Linha 1356
        BlockCMD[playerid] = false;
        ResetPlayerWeapons(playerid);
        GivePlayerWeapon(playerid, 24, 99999);
        GivePlayerWeapon(playerid, 28, 99999);
        GivePlayerWeapon(playerid, 26, 99999);
        SetPlayerHealth(playerid,100);
        SetPlayerArmour(playerid,0);
        SetPlayerInterior(playerid,0);
        new rand = random(sizeof(RandomSpawns));
        SetPlayerPos(playerid, RandomSpawns[rand][0], RandomSpawns[rand][1],RandomSpawns[rand][2]);
        SetPlayerFacingAngle(playerid, RandomSpawns[rand][3]);
        SetPlayerInterior(playerid,0);
        SetPlayerWorldBounds(playerid,20000.0000,-20000.0000,20000.0000,-20000.0000);
        SetPlayerInterior(playerid,0);
        return true;
   }
Reply
#2

Faz diferenзa trocar ''COMMAND'' por ''CMD'' ?

Talvez seja isso, nao mexo com zcmd =/
Reply
#3

eu tbm nгo sei mto bem. comecei a usar ZCMD esses dias. '-'
Reply
#4

CanTLoGin tambem acredito que seja COMMANDair(playerid, params[]), acho que o certo seria cmdair(playerid, params[]), tente trocar, talvez dк certo..
Reply
#5

acho que o sr.pekeno ta certo '-' nao mexo tambem
Reply
#6

Valeu. Consegui
o certo era cmdair mesmo *-*
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)