[Ajuda] Erros apos colocar comando
#1

O gm compila normalmente mas apуs colocar o comando:
pawn Код:
if(strcmp(cmdtext, "/kitvip", true) == 0)
    {
        if(PlayerInfo[playerid][pDonateRank] < 1) return SendClientMessage(playerid, -1, "Vocк nгo й Vip");
        if(PlayerInfo[playerid][pDonateRank] >= 1)
            if(IsAtGasStation(playerid))
        {
            SendClientMessage(playerid, -1, "Vocк pegou seu Kit Vip");
            SetPlayerHealth(playerid, 100.0);
            SetPlayerArmour(playerid, 100.0);
            GivePlayerWeapon(playerid, 4, 1);
            GivePlayerWeapon(playerid, 24, 500);
            GivePlayerWeapon(playerid, 25, 500);
            GivePlayerWeapon(playerid, 29, 500);
            GivePlayerWeapon(playerid, 31, 500);
            GivePlayerWeapon(playerid, 34, 500);
            return 1;
        }
Ele da vбrios erros em linhas que nгo tem relaзгo com o comando.

Erros:
Function "FixHour" is not implemented (2 vezes seguidas nas linhas 3098 e 466
Function "SafeGivePlayerWeapon" is not implemented (Vбrias vezes)
Function "PlayerToPoint" is not implemented (vбrias vezes)
Undefined symbol "GetName" (3 vezes)
Function "ProxDetector" is not implemented (vбrias vezes)
Reply
#2

Acho que tб faltando chaves ai
Reply
#3

Testa ai
PHP код:
if(strcmp(cmdtext"/kitvip"true) == 0)
{
    if(
PlayerInfo[playerid][pDonateRank] < 1) return SendClientMessage(playerid, -1"Vocк nгo й Vip");
    if(
PlayerInfo[playerid][pDonateRank] >= 1)
    if(
IsAtGasStation(playerid))
    {
        
SendClientMessage(playerid, -1"Vocк pegou seu Kit Vip");
        
SetPlayerHealth(playerid100.0);
        
SetPlayerArmour(playerid100.0);
        
GivePlayerWeapon(playerid41);
        
GivePlayerWeapon(playerid24500);
        
GivePlayerWeapon(playerid25500);
        
GivePlayerWeapon(playerid29500);
        
GivePlayerWeapon(playerid31500);
        
GivePlayerWeapon(playerid34500);
    }
    return 
1;

Reply
#4

Quote:
Originally Posted by yNexus
Посмотреть сообщение
Testa ai
PHP код:
if(strcmp(cmdtext"/kitvip"true) == 0)
{
    if(
PlayerInfo[playerid][pDonateRank] < 1) return SendClientMessage(playerid, -1"Vocк nгo й Vip");
    if(
PlayerInfo[playerid][pDonateRank] >= 1)
    if(
IsAtGasStation(playerid))
    {
        
SendClientMessage(playerid, -1"Vocк pegou seu Kit Vip");
        
SetPlayerHealth(playerid100.0);
        
SetPlayerArmour(playerid100.0);
        
GivePlayerWeapon(playerid41);
        
GivePlayerWeapon(playerid24500);
        
GivePlayerWeapon(playerid25500);
        
GivePlayerWeapon(playerid29500);
        
GivePlayerWeapon(playerid31500);
        
GivePlayerWeapon(playerid34500);
    }
    return 
1;

Deu certo obrigado
Reply
#5

Quote:
Originally Posted by PedroAuditore
Посмотреть сообщение
Deu certo obrigado
++
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)