Compile Problem
#1

I have some problems with compiling a GameMode:

Erors:
Код:
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(2537) : error 004: function "GivePlayerCash" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(2566) : error 004: function "GivePlayerCash" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(2602) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(2603) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(2630) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3154) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3166) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3178) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3190) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3194) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3206) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3210) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3214) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3218) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3222) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3226) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3230) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3234) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3246) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3250) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3254) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3258) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3262) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3274) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3278) : error 004: function "PlayerToPoint" is not implemented
C:\Users\John\Desktop\World of Gaming\gamemodes\PZRP.pwn(3282) : error 004: function "PlayerToPoint" is not implemented

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


26 Errors.
Line:

-3282 :
Код:
else if(PlayerToPoint(3.0,playerid,374.1185,-113.6361,1001.4922) || PlayerToPoint(3.0,playerid,377.7971,-113.7668,1001.4922))
-3278 :
Код:
else if(PlayerToPoint(3.0,playerid,376.4466,-60.9574,1001.5078) || PlayerToPoint(3.0,playerid,378.1215,-57.4928,1001.5078))
-3274 :
Код:
if(PlayerToPoint(3.0,playerid,369.9786,-4.0798,1001.8589))
-3262 :
Код:
else if(PlayerToPoint(1.0,playerid,362.2244,-2088.7981,7.8359) || PlayerToPoint(1.0,playerid,354.5382,-2088.7979,7.8359))
-3258 :
Код:
else if(PlayerToPoint(1.0,playerid,383.4157,-2088.7849,7.8359) || PlayerToPoint(1.0,playerid,374.9598,-2088.7979,7.8359))
-3250 :
Код:
else if(PlayerToPoint(1.0,playerid,396.2197,-2088.6692,7.8359) || PlayerToPoint(1.0,playerid,391.1094,-2088.7976,7.8359))
-3246 :
Код:
if(PlayerToPoint(1.0,playerid,403.8266,-2088.7598,7.8359) || PlayerToPoint(1.0,playerid,398.7553,-2088.7490,7.8359))
-3234 :
Код:
else if(PlayerToPoint(8.0,playerid,656.4265,-559.8610,16.5015) || PlayerToPoint(6.0,playerid,656.3797,-570.4138,16.5015))
-3230 :
Код:
else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625))
-3226 :
Код:
else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165))
-3222 :
Код:
else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968))
-3218 :
Код:
 else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484))
-3214 :
Код:
 else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175))
-3210 :
Код:
 else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391))
-3206 :
Код:
 if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906))
-3194 :
Код:
 else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047))
-3190 :
Код:
 if(PlayerToPoint(25.0,playerid,20.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047))
-3178 :
Код:
 if(PlayerToPoint(30.0,playerid,1696.5543,-1053.4685,23.9063))
-3166 :
Код:
 if(PlayerToPoint(3.0,playerid,847.6656,-1043.4241,25.4944) || PlayerToPoint(3.0,playerid,2127.5808,2378.2695,10.8203))
-3154 :
Код:
 if(PlayerToPoint(50,playerid,1689.1055,-1015.0319,23.9063) || PlayerToPoint(50,playerid,1642.4335,-1025.0067,23.8984) || PlayerToPoint(50,playerid,1639.1080,-1096.0895,23.9063) || PlayerToPoint(50,playerid,1579.5927,-1020.6734,23.9063))
-2630 :
Код:
 SafeResetPlayerWeapons(i);
-2603 :
Код:
 SafeGivePlayerWeapon(i, 29, 999);
-2602 :
Код:
 SafeResetPlayerWeapons(i);
-2566 :
Код:
 GivePlayerCash(i, value);
-2537 :
Код:
 GivePlayerCash(i, value);
Who can help me please reply to this topic.
Thanks for your time.
Reply
#2

You've forgot a bracket somewhere, check what you have done since your last compile.
Reply
#3

i don't know where i edit all Gamemode please lock at the line and tell me what to do
Reply
#4

Well Its downloaded GM ?
Try Download again and Try Compile It ..? is it compiling Fine ?
Or it also giving Errors
Reply
#5

is it compiling Fine no problem
Reply
#6

Does anyone know how to solve the problem?
Reply
#7

I would suggest to you to use this one - https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
Reply
#8

Try to scan your gamemode through this - https://sampforum.blast.hk/showthread.php?tid=171429
Reply
#9

i will try
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)