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