[Ajuda] erro
#1

pawn Код:
C:\Users\Pedro\Desktop\SERVE-CONTRUЗAO\gamemodes\PROJETO2.pwn(295) : error 017: undefined symbol "classid"
C:\Users\Pedro\Desktop\SERVE-CONTRUЗAO\gamemodes\PROJETO2.pwn(295) : error 036: empty statement
C:\Users\Pedro\Desktop\SERVE-CONTRUЗAO\gamemodes\PROJETO2.pwn(316) : error 017: undefined symbol "classid"
C:\Users\Pedro\Desktop\SERVE-CONTRUЗAO\gamemodes\PROJETO2.pwn(316) : error 036: empty statement
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(classid == 0);
    if(strcmp(cmdtext,"/preparar",true)==0){
    if(PlayerToPoint(1.0, playerid, 1569.1609,-1634.6731,13.5549)){
    GivePlayerWeapon(playerid, 3, 1500);
    GivePlayerWeapon(playerid, 16, 1500);
    GivePlayerWeapon(playerid, 17, 1500);
    GivePlayerWeapon(playerid, 24, 1500);
    GivePlayerWeapon(playerid, 25, 1500);
    GivePlayerWeapon(playerid, 31, 1500);
    GivePlayerWeapon(playerid, 41, 1500);
    SetPlayerAttachedObject(playerid,3,18637,13,0.35,0.0,0.0,0.0,0.0,180.0);
    SetPlayerArmour(playerid, 100);
    SetPlayerHealth(playerid, 100);
    SendClientMessage(playerid,-1,"Vocк Estб Preparado");
    }
    else
    {
    SendClientMessage(playerid,-1,"Vocк nгo estб no ponto certo");
    }
    return 1;
    }
    if(classid == 1);
    if(strcmp(cmdtext,"/equipar",true)==0){
    if(PlayerToPoint(1.0, playerid, 2497.8352,-1685.4128,13.4292)){
    GivePlayerWeapon(playerid, 3, 1500);
    GivePlayerWeapon(playerid, 16, 1500);
    GivePlayerWeapon(playerid, 17, 1500);
    GivePlayerWeapon(playerid, 24, 1500);
    GivePlayerWeapon(playerid, 25, 1500);
    GivePlayerWeapon(playerid, 31, 1500);
    GivePlayerWeapon(playerid, 41, 1500);
    SetPlayerAttachedObject(playerid,0, 19487, 2, 0.101, -0.0, 0.0, 5.50, 84.60, 83.7, 1, 1, 1, 000000);
    SetPlayerArmour(playerid, 100);
    SetPlayerHealth(playerid, 100);
    SendClientMessage(playerid,-1,"Vocк Estб Equipado");
    }
    else
    {
    SendClientMessage(playerid,-1,"Vocк nгo estб no ponto certo");
    }
    return 1;
    }
    if(strcmp(cmdtext,"/mudar",true)==0)
    {
    SetPlayerHealth(playerid, 0);
    ForceClassSelection(playerid);
    return 1;
    }
    return 0;
}
Alguem Poderia Me ajudar.
Reply


Messages In This Thread
erro - by CrazyHelp - 22.05.2014, 13:37
Re: erro - by Krisky_ - 22.05.2014, 14:04
Re: erro - by CrazyHelp - 22.05.2014, 14:11
Re: erro - by DiiMeNoR - 22.05.2014, 14:20
Re: erro - by Input - 22.05.2014, 14:22

Forum Jump:


Users browsing this thread: 2 Guest(s)