Remove building error
#1

IDK whats wrong with this but I copied it st8 from the mapping code and aligned it and i get errors :/

Код:
public OnPlayerConnect(playerid)
{
	GameTextForPlayer(playerid,"RCSG MAPPING",5000,5);
	
	RemoveBuildingForPlayer(playerid, 7682, 1126.9688, 2018.6406, 13.3984, 0.25);
	RemoveBuildingForPlayer(playerid, 7833, 1064.8359, 1869.7813, 13.9219, 0.25);
	RemoveBuildingForPlayer(playerid, 7835, 1162.5625, 1947.8906, 15.8125, 0.25);
	RemoveBuildingForPlayer(playerid, 3536, 1032.5156, 1876.5000, 12.1250, 0.25);
	RemoveBuildingForPlayer(playerid, 3539, 1032.3906, 1929.8906, 12.3438, 0.25);
	RemoveBuildingForPlayer(playerid, 3539, 1032.3906, 1849.8281, 12.3438, 0.25);
	RemoveBuildingForPlayer(playerid, 3537, 1032.4219, 1903.3281, 12.3438, 0.25);
	RemoveBuildingForPlayer(playerid, 7648, 1118.7031, 2000.2500, 21.1016, 0.25);
	RemoveBuildingForPlayer(playerid, 3459, 1098.0156, 2001.6250, 17.3203, 0.25);
	RemoveBuildingForPlayer(playerid, 7495, 1126.9688, 2018.6406, 13.3984, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 1989.3516, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 1999.9063, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 2005.1797, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 2010.4531, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 1994.6250, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 2031.5625, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 2036.8359, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 2026.2891, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 2015.7344, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 2021.0078, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 7649, 1085.4063, 2054.6641, 21.1016, 0.25);
	RemoveBuildingForPlayer(playerid, 3459, 1079.5391, 2062.3438, 17.3203, 0.25);
	RemoveBuildingForPlayer(playerid, 3460, 1142.9219, 2049.2969, 13.7656, 0.25);
	RemoveBuildingForPlayer(playerid, 3459, 1140.4844, 2043.8203, 17.3203, 0.25);
	RemoveBuildingForPlayer(playerid, 3460, 1002.9688, 1895.8047, 13.7656, 0.25);
	RemoveBuildingForPlayer(playerid, 3459, 997.8516, 1866.8047, 17.3203, 0.25);
	RemoveBuildingForPlayer(playerid, 3460, 1011.7578, 1867.8359, 13.7656, 0.25);
	RemoveBuildingForPlayer(playerid, 3464, 1032.5156, 1876.5000, 12.1250, 0.25);
	RemoveBuildingForPlayer(playerid, 3444, 1032.4219, 1903.3281, 12.3438, 0.25);
	RemoveBuildingForPlayer(playerid, 3466, 1032.3906, 1849.8281, 12.3438, 0.25);
	RemoveBuildingForPlayer(playerid, 3460, 1011.7578, 1925.6641, 13.7656, 0.25);
	RemoveBuildingForPlayer(playerid, 3459, 1016.7578, 1915.1797, 17.3203, 0.25);
	RemoveBuildingForPlayer(playerid, 3466, 1032.3906, 1929.8906, 12.3438, 0.25);
	RemoveBuildingForPlayer(playerid, 3459, 997.8516, 1964.8203, 17.3203, 0.25);
	RemoveBuildingForPlayer(playerid, 7646, 1006.1406, 1970.6875, 21.1016, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1130.6719, 1850.9141, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1413, 1129.5391, 1845.7656, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1413, 1132.3750, 1855.8906, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 7834, 1064.8359, 1869.7813, 13.9219, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1134.5938, 1860.6719, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1136.8281, 1865.4531, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1139.0547, 1870.2344, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1141.2891, 1875.0234, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1147.9766, 1889.3672, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1145.7500, 1884.5859, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1143.5156, 1879.8047, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1150.2031, 1894.1484, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1152.4375, 1898.9297, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1154.6641, 1903.7109, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1413, 1158.4297, 1905.8438, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1163.6797, 1905.3906, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1413, 1167.5625, 1907.4375, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1170.1875, 1912.0078, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1172.8281, 1916.5781, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 3460, 1076.2188, 1948.9219, 13.7656, 0.25);
	RemoveBuildingForPlayer(playerid, 3459, 1112.8516, 1951.9922, 17.3203, 0.25);
	RemoveBuildingForPlayer(playerid, 7836, 1162.5625, 1947.8906, 15.8125, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1175.4688, 1921.1484, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1413, 1176.7656, 1926.0391, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 1931.3125, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 1936.5859, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 1941.8594, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 1947.1406, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 1952.4141, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 3474, 1124.6797, 1963.3672, 16.7422, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 1957.6875, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 1968.2422, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 1962.9688, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 1978.7969, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 1973.5234, 11.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1412, 1176.7578, 1984.0703, 11.0938, 0.25);
	return 1;
}
Quote:

C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(55) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(56) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(57) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(58) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(59) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(60) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(61) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(62) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(63) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(64) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(65) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(66) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(67) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(68) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(69) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(70) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(71) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(72) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(73) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(74) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(75) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(76) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(77) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(78) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(79) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Exiled\Desktop\Mapping\gamemodes\grandlar c.pwn(80) : error 017: undefined symbol "RemoveBuildingForPlayer"

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


26 Errors.

Reply
#2

Do you have this line in ..\pawno\include\a_players.inc ?

Код:
native RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius);
Reply
#3

Quote:
Originally Posted by kyriakos587
Посмотреть сообщение
Do you have this line in ..\pawno\include\a_players.inc ?

Код:
native RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius);
Ah thanks IDK why i didnt think to check there :/ Dont even know why it was removed...
Reply
#4

Your welcome
Reply
#5

It wasn't removed... You have an older version of the include, download the latest one.
Reply
#6

Um now i go ingame and non of the createobjects are there :/
Reply
#7

Quote:
Originally Posted by Thoma
Посмотреть сообщение
Um now i go ingame and non of the createobjects are there :/
Код:
#include <streamer>
#include <a_samp>
Also try to install Streamer plugin on your server
https://sampforum.blast.hk/showthread.php?tid=102865
Reply
#8

Download Streamer Plugins (v2.7.7) :Click Me to download Streamer Plugin
Don't use CreateObject,use DynamicCreateObject because most of the objects does not shows up in CreateObject.
You can convert CreateObject to DynamicCreateObject :Click me to Convert Objects.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)