[Ajuda] Erro no Game mode
#1

Estou com um poblema no game mode me ajuda ai prfv.. essas linhas ai eas que estгo dando erro '

PHP код:
D:\GTA San Andreas User Files\User Tracks\GamemodeVDB\gamemodes\VDB.pwn(10791) : error 017undefined symbol "FavArmas1"
D:\GTA San Andreas User Files\User Tracks\GamemodeVDB\GamemodeVDB\gamemodes\VDB.pwn(10807) : error 017undefined symbol "FavArmas3"
D:\GTA San Andreas User Files\User Tracks\GamemodeVDB\GamemodeVDB\gamemodes\VDB.pwn(10815) : error 017undefined symbol "FavArmas4"
D:\GTA San Andreas User Files\User Tracks\GamemodeVDB\GamemodeVDB\gamemodes\VDB.pwn(10823) : error 017undefined symbol "FavArmas5"
D:\GTA San Andreas User Files\User Tracks\GamemodeVDB\GamemodeVDB\gamemodes\VDB.pwn(10831) : error 017undefined symbol "FavArmas6"
D:\GTA San Andreas User Files\User Tracks\GamemodeVDB\GamemodeVDB\gamemodes\VDB.pwn(10839) : error 017undefined symbol "FavArmas7"
D:\GTA San Andreas User Files\User Tracks\GamemodeVDB\GamemodeVDB\gamemodes\VDB.pwn(10847) : error 017undefined symbol "FavArmas8"
D:\GTA San Andreas User Files\User Tracks\GamemodeVDB\GamemodeVDB\gamemodes\VDB.pwn(10853) : warning 202number of arguments does not match definition
D
:\GTA San Andreas User Files\User Tracks\GamemodeVDB\GamemodeVDB\gamemodes\VDB.pwn(10855) : error 017undefined symbol "FavArmas9"
D:\GTA San Andreas User Files\User Tracks\GamemodeVDB\GamemodeVDB\gamemodes\VDB.pwn(10863) : error 017undefined symbol "FavArmas10"
D:\GTA San Andreas User Files\User Tracks\GamemodeVDB\GamemodeVDB\gamemodes\VDB.pwn(10871) : error 017undefined symbol "FavArmas11" 
PHP код:
//-------------------------------------------------------------------------------------------------------------------
    
if(newkeys == KEY_SECONDARY_ATTACK)
    {
        if(
PlayerToPoint(1.0playerid,1026.1810,-797.8555,102.0391)) // NH
        
{
        
FavArmas1(playerid);
        }
    }
//-------------------------------------------------------------------------------------------------------------------
    
if(newkeys == KEY_SECONDARY_ATTACK)
    {
        if(
PlayerToPoint(1.0playerid,571.7489,1935.8550,53.9442)) // CHP
        
{
        
FavArmas2(playerid);
        }
    }
//-------------------------------------------------------------------------------------------------------------------
    
if(newkeys == KEY_SECONDARY_ATTACK)
    {
        if(
PlayerToPoint(1.0playerid,-2614.6152,892.0791,64.1652)) // VK
        
{
        
FavArmas3(playerid);
        }
    }
//-------------------------------------------------------------------------------------------------------------------
    
if(newkeys == KEY_SECONDARY_ATTACK)
    {
        if(
PlayerToPoint(1.0playerid,373.0847,-1165.6608,78.1602)) // PDR
        
{
        
FavArmas4(playerid);
        }
    }
//-------------------------------------------------------------------------------------------------------------------
    
if(newkeys == KEY_SECONDARY_ATTACK)
    {
        if(
PlayerToPoint(1.0playerid,2559.3723,189.7209,64.0554)) // MNR
        
{
        
FavArmas5(playerid);
        }
    }
//-------------------------------------------------------------------------------------------------------------------
    
if(newkeys == KEY_SECONDARY_ATTACK)
    {
        if(
PlayerToPoint(1.0playerid,-1754.0334,2519.6482,98.8223)) // 18
        
{
        
FavArmas6(playerid);
        }
    }
//-------------------------------------------------------------------------------------------------------------------
    
if(newkeys == KEY_SECONDARY_ATTACK)
    {
        if(
PlayerToPoint(1.0playerid,-202.8169,62.9783,3.1172)) // PL3
        
{
        
FavArmas7(playerid);
        }
    }
//-------------------------------------------------------------------------------------------------------------------
    
if(newkeys == KEY_SECONDARY_ATTACK)
    {
        if(
PlayerToPoint(1.0playerid,2878.0413,2760.9746,11.5695)) // SRN
        
{
        
FavArmas8(playerid);
        }
    }
//-------------------------------------------------------------------------------------------------------------------
    
if(newkeys == KEY_SECONDARY_ATTACK)
    {
        if(
PlayerToPoint(1.0playerid,-311.0206,1509.0479,75.5625,268.2393)) // DND
        
{
        
FavArmas9(playerid);
        }
    }
//-------------------------------------------------------------------------------------------------------------------
    
if(newkeys == KEY_SECONDARY_ATTACK)
    {
        if(
PlayerToPoint(1.0playerid,-636.7838,2676.2654,72.3750)) // TANQUE
        
{
        
FavArmas10(playerid);
        }
    }
//-------------------------------------------------------------------------------------------------------------------
    
if(newkeys == KEY_SECONDARY_ATTACK)
    {
        if(
PlayerToPoint(1.0playerid,1384.6000,-2056.9976,55.5322)) // FUBA
        
{
        
FavArmas11(playerid);
        }
    }
//------------------------------------------------------------------------------------------------------------------- 
Reply
#2

Essas funзхes nгo estгo no seu GM.

Basta criб-lбs, com suas respectivas funcionalidades.
Reply
#3

Код:
  if(newkeys == KEY_SECONDARY_ATTACK) 
    { 
        if(PlayerToPoint(1.0, playerid,-311.0206,1509.0479,75.5625,268.2393)) // DND 
        { 
        FavArmas9(playerid); 
        } 
    }
E este й o erro da linha 10853 se nгo me engano, uma posiзгo a mais.
Reply
#4

Obrigado consegui ageitar o erro <3
Reply
#5

Todos os codigo sao 6 o do DnD E 8'-
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)