Please help me !
#1

Hey guys i am using this in my pawno


Quote:

RemoveBuildingForPlayer(playerid, 4057, 1479.5547, -1693.1406, 19.5781, 0.25);
RemoveBuildingForPlayer(playerid, 4210, 1479.5625, -1631.4531, 12.0781, 0.25);
RemoveBuildingForPlayer(playerid, 713, 1457.9375, -1620.6953, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 713, 1496.8672, -1707.8203, 13.4063, 0.25);
RemoveBuildingForPlayer(playerid, 1231, 1479.6953, -1716.7031, 15.6250, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1713.7031, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 1289, 1504.7500, -1711.8828, 13.5938, 0.25);
RemoveBuildingForPlayer(playerid, 1258, 1445.0078, -1704.7656, 13.6953, 0.25);
RemoveBuildingForPlayer(playerid, 1258, 1445.0078, -1692.2344, 13.6953, 0.25);
RemoveBuildingForPlayer(playerid, 712, 1445.8125, -1650.0234, 22.2578, 0.25);
RemoveBuildingForPlayer(playerid, 673, 1457.7266, -1710.0625, 12.3984, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1461.6563, -1707.6875, 11.8359, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1704.6406, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 700, 1463.0625, -1701.5703, 13.7266, 0.25);
RemoveBuildingForPlayer(playerid, 1231, 1479.6953, -1702.5313, 15.6250, 0.25);
RemoveBuildingForPlayer(playerid, 673, 1457.5547, -1697.2891, 12.3984, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1694.0469, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 1231, 1479.3828, -1692.3906, 15.6328, 0.25);
RemoveBuildingForPlayer(playerid, 4186, 1479.5547, -1693.1406, 19.5781, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1461.1250, -1687.5625, 11.8359, 0.25);
RemoveBuildingForPlayer(playerid, 700, 1463.0625, -1690.6484, 13.7266, 0.25);
RemoveBuildingForPlayer(playerid, 641, 1458.6172, -1684.1328, 11.1016, 0.25);
RemoveBuildingForPlayer(playerid, 625, 1457.2734, -1666.2969, 13.6953, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1682.7188, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 712, 1471.4063, -1666.1797, 22.2578, 0.25);
RemoveBuildingForPlayer(playerid, 1231, 1479.3828, -1682.3125, 15.6328, 0.25);
RemoveBuildingForPlayer(playerid, 625, 1458.2578, -1659.2578, 13.6953, 0.25);
RemoveBuildingForPlayer(playerid, 712, 1449.8516, -1655.9375, 22.2578, 0.25);
RemoveBuildingForPlayer(playerid, 1231, 1477.9375, -1652.7266, 15.6328, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1479.6094, -1653.2500, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 625, 1457.3516, -1650.5703, 13.6953, 0.25);
RemoveBuildingForPlayer(playerid, 625, 1454.4219, -1642.4922, 13.6953, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1467.8516, -1646.5938, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1472.8984, -1651.5078, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1465.9375, -1639.8203, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 1231, 1466.4688, -1637.9609, 15.6328, 0.25);
RemoveBuildingForPlayer(playerid, 625, 1449.5938, -1635.0469, 13.6953, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1467.7109, -1632.8906, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 1232, 1465.8906, -1629.9766, 15.5313, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1472.6641, -1627.8828, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1479.4688, -1626.0234, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 3985, 1479.5625, -1631.4531, 12.0781, 0.25);
RemoveBuildingForPlayer(playerid, 4206, 1479.5547, -1639.6094, 13.6484, 0.25);
RemoveBuildingForPlayer(playerid, 1232, 1465.8359, -1608.3750, 15.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1704.5938, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 700, 1494.2109, -1694.4375, 13.7266, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1693.7344, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1496.9766, -1686.8516, 11.8359, 0.25);
RemoveBuildingForPlayer(playerid, 641, 1494.1406, -1689.2344, 11.1016, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1682.6719, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 712, 1480.6094, -1666.1797, 22.2578, 0.25);
RemoveBuildingForPlayer(playerid, 712, 1488.2266, -1666.1797, 22.2578, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1486.4063, -1651.3906, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1491.3672, -1646.3828, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1493.1328, -1639.4531, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1486.1797, -1627.7656, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 1280, 1491.2188, -1632.6797, 13.4531, 0.25);
RemoveBuildingForPlayer(playerid, 1232, 1494.4141, -1629.9766, 15.5313, 0.25);
RemoveBuildingForPlayer(playerid, 1232, 1494.3594, -1608.3750, 15.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1288, 1504.7500, -1705.4063, 13.5938, 0.25);
RemoveBuildingForPlayer(playerid, 1287, 1504.7500, -1704.4688, 13.5938, 0.25);
RemoveBuildingForPlayer(playerid, 1286, 1504.7500, -1695.0547, 13.5938, 0.25);
RemoveBuildingForPlayer(playerid, 1285, 1504.7500, -1694.0391, 13.5938, 0.25);
RemoveBuildingForPlayer(playerid, 673, 1498.9609, -1684.6094, 12.3984, 0.25);
RemoveBuildingForPlayer(playerid, 625, 1504.1641, -1662.0156, 13.6953, 0.25);
RemoveBuildingForPlayer(playerid, 625, 1504.7188, -1670.9219, 13.6953, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1503.1875, -1621.1250, 11.8359, 0.25);
RemoveBuildingForPlayer(playerid, 673, 1501.2813, -1624.5781, 12.3984, 0.25);
RemoveBuildingForPlayer(playerid, 673, 1498.3594, -1616.9688, 12.3984, 0.25);
RemoveBuildingForPlayer(playerid, 712, 1508.4453, -1668.7422, 22.2578, 0.25);
RemoveBuildingForPlayer(playerid, 625, 1505.6953, -1654.8359, 13.6953, 0.25);
RemoveBuildingForPlayer(playerid, 625, 1508.5156, -1647.8594, 13.6953, 0.25);
RemoveBuildingForPlayer(playerid, 625, 1513.2734, -1642.4922, 13.6953, 0.25);
RemoveBuildingForPlayer(playerid, 1258, 1510.8906, -1607.3125, 13.6953, 0.25);
RemoveBuildingForPlayer(playerid, 1229, 1524.2188, -1693.9688, 14.1094, 0.25);
RemoveBuildingForPlayer(playerid, 1226, 1524.8281, -1688.0859, 16.4219, 0.25);
CreateObject(10368, 3881.93, 3693.27, -7951.15, 0.00, 0.00, 0.00);
CreateObject(10368, 3890.14, 3692.26, -7951.15, 0.00, 0.00, 0.00);
CreateObject(10368, 1483.78, -1682.22, 32.87, 0.00, 0.00, -180.00);
CreateObject(5809, 1281.44, -1337.95, 12.38, 356.86, 0.00, 3.14);CreateObject(3434, 1487.21, -1692.17, 29.99, 0.00, 0.00, 89.00);
CreateObject(9254, -6419.71, -1164.47, -6064.04, 0.00, 0.00, 0.00);

And it is telling that

Quote:

E:\Server of 0.3e\filterscripts\my_map.pwn( : error 037: invalid string (possibly non-terminated string)
E:\Server of 0.3e\filterscripts\my_map.pwn(37) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(3 : warning 217: loose indentation
E:\Server of 0.3e\filterscripts\my_map.pwn(3 : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(39) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(40) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(41) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(42) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(43) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(44) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(45) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(46) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(47) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(4 : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(49) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(50) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(51) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(52) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(53) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(54) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(55) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(56) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(57) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(5 : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(59) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(60) : error 017: undefined symbol "playerid"
E:\Server of 0.3e\filterscripts\my_map.pwn(61) : error 017: undefined symbol "playerid"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.

Which i have to chose.................zcmd,dini,sccanf or what ?
Please help ! +rep
Reply
#2

I'm not a scripter at all, but I'm sure you can't have CreateObject(3434, 1487.21, -1692.17, 29.99, 0.00, 0.00, 89.00); next to CreateObject(5809, 1281.44, -1337.95, 12.38, 356.86, 0.00, 3.14);, they have to be under each other. Also I think you have to leave spaces between the codes and the left side, using TAB so it makes the same space at each lines. That's all I can do since I'm not a scripter..

Edit: Also, in which section did you place the codes ?
Reply
#3

Are you mapping? Please add these lines to: OnPlayerConnect. You probably put your codes to wrong place.
Reply
#4

you must add removebuildingforplayer after the " OnPlayerConnect ",like that;

pawn Код:
public OnPlayerConnect(playerid)
{

//name the map here and,put your code of the removebuilding after this line
and put the CreateObject at:

pawn Код:
public OnGameModeInit()
{
//Createobject lines after this one,name the map
Reply
#5

Quote:
Originally Posted by CrossUSAAF
Посмотреть сообщение
Are you mapping? Please add these lines to: OnPlayerConnect. You probably put your codes to wrong place.
He is right.

Put the RemoveBuildingForPlayer inside OnPlayerConnect and CreateObject inside OnGamemodeInIt.
Reply
#6

thanks guys i believe you
Reply
#7

So, you get them work?
Reply
#8

well, I want to suggest you one thing.
Search for "RemoveBuildingForPlayer" in you pawno and add removal codes under that codes.
If there is no removal codes in your script then you got somemore suggestion in above replies.
Reply
#9

Yes friends..it's get worked
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)