Map help
#1

Okay i added a map in my script and compiled it then i get all these errors

Quote:

C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3431) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack")
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20237) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(2023 : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20239) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20240) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20241) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20242) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20243) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20244) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20245) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20246) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20247) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(2024 : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20249) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20250) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20251) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20252) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20253) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20254) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20255) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20256) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20257) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(2025 : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20259) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20260) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20261) : error 017: undefined symbol "playerid"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(20262) : error 017: undefined symbol "playerid"

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


26 Errors.

It is this map i attempting to add
http://pastebin.com/dvTT0V5m

And here is the code that i wont load

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, 1280, 1468.9844, -1713.5078, 13.4531, 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, 1226, 1471.3516, -1596.7031, 16.4219, 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, 1226, 1488.5313, -1596.7031, 16.4219, 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);

''Playerid''
Reply
#2

You put this code under OnGameModeInit, didn't you? Well it doesn't have "playerid" as a parameter.

So move those RemoveBuildingForPlayer lines under OnPlayerConnect or other callback which has "playerid" as its parameter
Reply
#3

Shall i put the removebuildingforplayer under OnPlayerConnect?
Reply
#4

Yes, because that callback has the parameter playerid.
Reply
#5

This is my error
Quote:

C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(7726) : error 029: invalid expression, assumed zero
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(7807) : error 021: symbol already defined: "InvalidNameCheck"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(7810) : error 021: symbol already defined: "GetPlayerIp"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(7811) : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(7813) : error 021: symbol already defined: "Audio_SetPlayerName"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(7816) : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(781 : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(7821) : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(7827) : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(7847) : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(7851) : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(7856) : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(8072) : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(8091) : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(8112) : error 021: symbol already defined: "strcat"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(8117) : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(8122) : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(8136) : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(8141) : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(817 : error 021: symbol already defined: "SetPlayerColor"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(8180) : error 021: symbol already defined: "SetTimerEx"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(8183) : error 021: symbol already defined: "format"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(8184) : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(8185) : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(8186) : error 010: invalid function or declaration
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(8191) : error 010: invalid function or declaration

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


26 Errors.

Reply
#6

Missing bracket(s). Make sure you close the callback.

pawn Код:
public OnPlayerConnect(playerid)
{
    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, 1280, 1468.9844, -1713.5078, 13.4531, 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, 1226, 1471.3516, -1596.7031, 16.4219, 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, 1226, 1488.5313, -1596.7031, 16.4219, 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);
    // code..
    return 1;
}
Reply
#7

Quote:

C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(298 : error 017: undefined symbol "SendClientMessageEx"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(2990) : error 017: undefined symbol "ProxDetector"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(2995) : error 017: undefined symbol "SendClientMessageEx"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(2997) : error 017: undefined symbol "ProxDetector"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3002) : error 017: undefined symbol "SendClientMessageEx"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3004) : error 017: undefined symbol "ProxDetector"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3011) : error 017: undefined symbol "SendClientMessageEx"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3013) : error 017: undefined symbol "ProxDetector"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3017) : error 017: undefined symbol "SendClientMessageEx"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3025) : error 017: undefined symbol "SendClientMessageEx"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3027) : error 017: undefined symbol "ProxDetector"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3032) : error 017: undefined symbol "SendClientMessageEx"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3034) : error 017: undefined symbol "ProxDetector"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(303 : error 017: undefined symbol "GivePlayerCash"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3039) : error 017: undefined symbol "SendClientMessageEx"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3041) : error 017: undefined symbol "ProxDetector"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3046) : error 017: undefined symbol "SendClientMessageEx"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(304 : error 017: undefined symbol "ProxDetector"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3056) : error 017: undefined symbol "GivePlayerCash"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3057) : error 017: undefined symbol "SendClientMessageEx"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3059) : error 017: undefined symbol "ProxDetector"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3064) : error 017: undefined symbol "SendClientMessageEx"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3066) : error 017: undefined symbol "ProxDetector"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3071) : error 017: undefined symbol "SendClientMessageEx"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3073) : error 017: undefined symbol "ProxDetector"
C:\Users\JakkenKoppen\Desktop\Working scripts\Scripts\Bone County Script\gamemodes\UGRP.pwn(3077) : error 017: undefined symbol "SendClientMessageEx"

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


26 Errors.

Here is my Onplayerconnect
Quote:

public OnPlayerConnect(playerid)
{
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, 1280, 1468.9844, -1713.5078, 13.4531, 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, 1226, 1471.3516, -1596.7031, 16.4219, 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, 1226, 1488.5313, -1596.7031, 16.4219, 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);
// code..
return 1;



{

// Crash Fix - GhoulSlayeR
InvalidNameCheck(playerid);

new playerIP[16];
GetPlayerIp(playerid, playerIP, sizeof(playerIP));
if (CheckBan(playerIP) == 1)
{

Reply
#8

pawn Код:
RemoveBuildingForPlayer(playerid, 1258, 1510.8906, -1607.3125, 13.6953, 0.25);
// code..
return 1;



{

// Crash Fix - GhoulSlayeR
InvalidNameCheck(playerid);

new playerIP[16];
GetPlayerIp(playerid, playerIP, sizeof(playerIP));
if (CheckBan(playerIP) == 1)
{
Remove that bracket:

-> {

after return 1;

EDIT: I forgot about that, remove the return 1; as dusk said.
Reply
#9

Remove that return 1; aswell, or you will get "code unreachable" error.
Reply
#10

OKay now i cant login the login box wont show
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)