5 Pawno Errors
#1

Hello I just putted some mappings on my server and I get these errors:
Код:
C:\Users\User\Desktop\zGamingRoleplay\gamemodes\ZRP.pwn(2400) : error 017: undefined symbol "playerid"
C:\Users\User\Desktop\zGamingRoleplay\gamemodes\ZRP.pwn(2401) : error 017: undefined symbol "playerid"
C:\Users\User\Desktop\zGamingRoleplay\gamemodes\ZRP.pwn(2402) : error 017: undefined symbol "playerid"
C:\Users\User\Desktop\zGamingRoleplay\gamemodes\ZRP.pwn(2403) : error 017: undefined symbol "playerid"
C:\Users\User\Desktop\zGamingRoleplay\gamemodes\ZRP.pwn(2404) : error 017: undefined symbol "playerid"
My lines are:
pawn Код:
RemoveBuildingForPlayer(playerid, 4075, 1791.7969, -1716.9844, 12.5234, 0.25);
RemoveBuildingForPlayer(playerid, 1531, 1799.1328, -1708.7656, 14.1016, 0.25);
RemoveBuildingForPlayer(playerid, 1266, 1805.0234, -1692.4453, 25.1484, 0.25);
RemoveBuildingForPlayer(playerid, 4018, 1791.7969, -1716.9844, 12.5234, 0.25);
RemoveBuildingForPlayer(playerid, 1260, 1805.0234, -1692.4453, 25.1484, 0.25);
CreateObject(19129, 2680.58984, -10855.12012, -5596.04492,   0.00000, 0.00000, 0.00000);
CreateObject(19129, 9059.20508, -8246.87891, -3838.15308,   0.00000, 0.00000, 0.00000);
CreateObject(19129, 1769.42847, -1710.99646, 12.31599,   0.00000, 0.00000, 0.00000);
CreateObject(19129, 1790.05603, -1711.24390, 12.41599,   0.00000, 0.00000, 0.00000);
CreateObject(4100, 1767.89636, -1721.88708, 15.06082,   0.00000, 0.00000, 320.13779);
CreateObject(4100, 1760.99121, -1715.29956, 15.20962,   0.00000, 0.00000, 229.89731);
CreateObject(4100, 1801.18689, -1721.86414, 14.15782,   0.00000, 0.00000, 320.13779);
CreateObject(4100, 1801.24146, -1721.86426, 15.06082,   0.00000, 0.00000, 320.13779);
CreateObject(4100, 1787.54285, -1721.85071, 14.15782,   0.00000, 0.00000, 320.13779);
CreateObject(4100, 1787.44556, -1721.85059, 15.06082,   0.00000, 0.00000, 320.13779);
CreateObject(19129, 1770.86169, -1711.20923, 12.41599,   0.00000, 0.00000, 0.00000);
CreateObject(4100, 1773.74988, -1721.95654, 14.15782,   0.00000, 0.00000, 320.13779);
CreateObject(4100, 1773.71912, -1721.85144, 15.06082,   0.00000, 0.00000, 320.13779);
CreateObject(4100, 1767.87305, -1721.89722, 14.15782,   0.00000, 0.00000, 320.13779);
CreateObject(4100, 1760.98865, -1715.30505, 14.20662,   0.00000, 0.00000, 229.89731);
CreateObject(4100, 1761.00977, -1713.78503, 14.20662,   0.00000, 0.00000, 229.89731);
CreateObject(4100, 1761.01184, -1713.78503, 15.20962,   0.00000, 0.00000, 229.89731);
CreateObject(4148, 1763.65076, -1661.20068, 12.37447,   1.44000, 6.06000, 0.22508);
Can someone please help me fixing them ?
Reply
#2

you add
a_samp no?

i dont see any error in this...
Reply
#3

pawn Код:
// Includes
#include <a_samp>
#include <a_players>
#include <dini>
#include <dudb>
#include <dutils>
#pragma unused ret_memcpy
#include <foreach>
#include <sscanf2>
#include <zcmd>
#include <streamer>
#include <OPSP>
#include <progress>
#include <gvc>
Here are my includes ...
Reply
#4

try this :
pawn Код:
#include <a_samp>
#include <a_players>
#include <dini>
#include <dudb>
#include <dutils>
#include <foreach>
#include <sscanf2>
#include <zcmd>
#include <streamer>
#include <OPSP>
#include <progress>
#include <gvc>
#pragma unused ret_memcpy
i think this :
pawn Код:
#pragma unused ret_memcpy
is the last
Reply
#5

Quote:
Originally Posted by Porta0123
Посмотреть сообщение
try this :
pawn Код:
#include <a_samp>
#include <a_players>
#include <dini>
#include <dudb>
#include <dutils>
#include <foreach>
#include <sscanf2>
#include <zcmd>
#include <streamer>
#include <OPSP>
#include <progress>
#include <gvc>
#pragma unused ret_memcpy
i think this :
pawn Код:
#pragma unused ret_memcpy
is the last
I have it ...
Reply
#6

(FacePalm), You have to put the RemoveBuildingForPlayer in OnPlayerConnect..
Reply
#7

put this under onplayerconnect........
pawn Код:
RemoveBuildingForPlayer(playerid, 4075, 1791.7969, -1716.9844, 12.5234, 0.25);
RemoveBuildingForPlayer(playerid, 1531, 1799.1328, -1708.7656, 14.1016, 0.25);
RemoveBuildingForPlayer(playerid, 1266, 1805.0234, -1692.4453, 25.1484, 0.25);
RemoveBuildingForPlayer(playerid, 4018, 1791.7969, -1716.9844, 12.5234, 0.25);
RemoveBuildingForPlayer(playerid, 1260, 1805.0234, -1692.4453, 25.1484, 0.25);
Reply
#8

RemoveBuildingForPlayer have to be place when player connect ( OnPlayerConnect ) as you see it have playerid

edit:lol too late
Reply
#9

Quote:
Originally Posted by doreto
Посмотреть сообщение
RemoveBuildingForPlayer have to be place when player connect ( OnPlayerConnect ) as you see it have playerid
Thank you, btw nice signature xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)