Szerző Téma: undefined symbol "playerid"  (Megtekintve 610 alkalommal)

undefined symbol "playerid"
« Dátum: 2015. július 30. - 11:33:32 »
0 Show voters
RemoveBuildingForPlayer(playerid, 3297, -1667.2656, 2594.5469, 82.2344, 0.25);
RemoveBuildingForPlayer(playerid, 3298, -1671.3516, 2485.5156, 86.5859, 0.25);
RemoveBuildingForPlayer(playerid, 3300, -1667.1094, 2551.0625, 86.1172, 0.25);
RemoveBuildingForPlayer(playerid, 669, -1666.0391, 2472.7578, 85.6406, 0.25);
RemoveBuildingForPlayer(playerid, 700, -1660.9766, 2479.9141, 85.4453, 0.25);
RemoveBuildingForPlayer(playerid, 3241, -1671.3516, 2485.5156, 86.5859, 0.25);
RemoveBuildingForPlayer(playerid, 669, -1676.0156, 2584.2656, 80.3359, 0.25);
RemoveBuildingForPlayer(playerid, 3285, -1667.1094, 2551.0625, 86.1172, 0.25);
RemoveBuildingForPlayer(playerid, 3242, -1667.2656, 2594.5469, 82.2344, 0.25);
RemoveBuildingForPlayer(playerid, 703, -1680.3906, 2628.2813, 72.3906, 0.25);
RemoveBuildingForPlayer(playerid, 669, -1663.8594, 2517.7500, 85.3906, 0.25);
RemoveBuildingForPlayer(playerid, 672, -1661.3750, 2569.8828, 84.2656, 0.25);
RemoveBuildingForPlayer(playerid, 672, -1644.7891, 2513.8516, 85.7734, 0.25);
RemoveBuildingForPlayer(playerid, 703, -1642.8750, 2534.1328, 83.3984, 0.25);
RemoveBuildingForPlayer(playerid, 669, -1665.5156, 2611.5156, 77.9375, 0.25);
CreateObject(1315, -883.11121, 2730.08105, 47.04200,   -0.36000, -0.48000, 96.71990);
CreateObject(1290, -922.59375, 2720.69946, 46.80731,   0.00000, 0.00000, -85.08002);
CreateObject(1290, -876.57928, 2725.67822, 46.80731,   0.00000, 0.00000, -85.08002);
CreateObject(1290, -850.61890, 2727.96362, 46.80731,   0.00000, 0.00000, -85.08002);
CreateObject(1290, -820.33374, 2729.65918, 46.80731,   0.00000, 0.00000, -85.08002);
CreateObject(1290, -797.79865, 2730.14551, 46.80731,   0.00000, 0.00000, -85.08002);
CreateObject(1290, -753.57703, 2730.00000, 46.80731,   0.00000, 0.00000, -85.08002);
CreateObject(3558, -1669.22058, 2595.90430, 83.00000,   0.00000, 0.00000, -87.89990);
CreateObject(9324, -1672.64478, 2554.81152, 89.80230,   0.00000, 0.00000, -274.80011);

 
és a compiler ezt irja:
 
C:\\Users\\Otthoni\\Desktop\\mappol.pwn(35) : error 017: undefined symbol \"playerid\"
C:\\Users\\Otthoni\\Desktop\\mappol.pwn(36) : error 017: undefined symbol \"playerid\"
C:\\Users\\Otthoni\\Desktop\\mappol.pwn(37) : error 017: undefined symbol \"playerid\"
C:\\Users\\Otthoni\\Desktop\\mappol.pwn(38) : error 017: undefined symbol \"playerid\"
C:\\Users\\Otthoni\\Desktop\\mappol.pwn(39) : error 017: undefined symbol \"playerid\"
C:\\Users\\Otthoni\\Desktop\\mappol.pwn(40) : error 017: undefined symbol \"playerid\"
C:\\Users\\Otthoni\\Desktop\\mappol.pwn(41) : error 017: undefined symbol \"playerid\"
C:\\Users\\Otthoni\\Desktop\\mappol.pwn(42) : error 017: undefined symbol \"playerid\"
C:\\Users\\Otthoni\\Desktop\\mappol.pwn(43) : error 017: undefined symbol \"playerid\"
C:\\Users\\Otthoni\\Desktop\\mappol.pwn(44) : error 017: undefined symbol \"playerid\"
C:\\Users\\Otthoni\\Desktop\\mappol.pwn(45) : error 017: undefined symbol \"playerid\"
C:\\Users\\Otthoni\\Desktop\\mappol.pwn(46) : error 017: undefined symbol \"playerid\"
C:\\Users\\Otthoni\\Desktop\\mappol.pwn(47) : error 017: undefined symbol \"playerid\"
C:\\Users\\Otthoni\\Desktop\\mappol.pwn(48) : error 017: undefined symbol \"playerid\"
C:\\Users\\Otthoni\\Desktop\\mappol.pwn(49) : error 017: undefined symbol \"playerid\"

 
Kérlek segítsetek.
« Utoljára szerkesztve: 2015. július 30. - 12:08:48 írta Cα℘℘ჷƴ »

ᗩωєѕσмє

  • Vendég
undefined symbol "playerid"
« Válasz #1 Dátum: 2015. július 30. - 11:47:38 »
0 Show voters
A remove-t, az onplayerconnect részhez kell rakni.
Ha sikerült, akkor zárd a témát.
 

public OnPlayerConnect(playerid) {
RemoveBuildingForPlayer(playerid, 3297, -1667.2656, 2594.5469, 82.2344, 0.25);
RemoveBuildingForPlayer(playerid, 3298, -1671.3516, 2485.5156, 86.5859, 0.25);
RemoveBuildingForPlayer(playerid, 3300, -1667.1094, 2551.0625, 86.1172, 0.25);
RemoveBuildingForPlayer(playerid, 669, -1666.0391, 2472.7578, 85.6406, 0.25);
RemoveBuildingForPlayer(playerid, 700, -1660.9766, 2479.9141, 85.4453, 0.25);
RemoveBuildingForPlayer(playerid, 3241, -1671.3516, 2485.5156, 86.5859, 0.25);
RemoveBuildingForPlayer(playerid, 669, -1676.0156, 2584.2656, 80.3359, 0.25);
RemoveBuildingForPlayer(playerid, 3285, -1667.1094, 2551.0625, 86.1172, 0.25);
RemoveBuildingForPlayer(playerid, 3242, -1667.2656, 2594.5469, 82.2344, 0.25);
RemoveBuildingForPlayer(playerid, 703, -1680.3906, 2628.2813, 72.3906, 0.25);
RemoveBuildingForPlayer(playerid, 669, -1663.8594, 2517.7500, 85.3906, 0.25);
RemoveBuildingForPlayer(playerid, 672, -1661.3750, 2569.8828, 84.2656, 0.25);
RemoveBuildingForPlayer(playerid, 672, -1644.7891, 2513.8516, 85.7734, 0.25);
RemoveBuildingForPlayer(playerid, 703, -1642.8750, 2534.1328, 83.3984, 0.25);
RemoveBuildingForPlayer(playerid, 669, -1665.5156, 2611.5156, 77.9375, 0.25);
return 1;
}
« Utoljára szerkesztve: 2015. július 30. - 11:51:39 írta ᗩωєѕσмє »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal