PlayerToPoint is messed up.
#1

Ight. This is fucking pissing me off.
I added a playertopoint in /ad(vertise) and it gave me a shitload of fucking errors:
Quote:

C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(2334) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(3366) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4181) : error 017: undefined symbol "LoadPlayerVehicles"
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4192) : error 004: function "IsKeyJustDown" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4377) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4472) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4476) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4480) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4492) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4496) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4500) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4504) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(450 : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4512) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4516) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4520) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4524) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4535) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4539) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4603) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(4611) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(5454) : error 017: undefined symbol "GetPlayerFreeVehicleId"
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(5466) : error 017: undefined symbol "GetVehicleName"
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(5481) : error 017: undefined symbol "GetPlayerFreeVehicleId"
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(5493) : error 017: undefined symbol "GetVehicleName"
C:\Documents and Settings\Lane\Desktop\DGRP\DGRPv1.x\DGRPv1.1\gamem odes\dgrp.pwn(5507) : error 017: undefined symbol "GetPlayerFreeVehicleId"

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


26 Errors.

Bullshit because it was fine til i did this. Now the whole things fucked up. And don't even tell me I don't have that shit. I do. It was all in there already.
Reply
#2

Try IsPlayerInRangeOfPoint instead of PlayerToPoint
Reply
#3

Post the /ad(vertise) command code.
Reply
#4

Quote:
Originally Posted by MadeMan
Post the /ad(vertise) command code.
Hah. That's the thing. I removed it from that immediately after seeing these errors. So it'd be pointless. Should I go through the PlayerToPoint's and make sure they are ()'d right and stuff?

Here's the first error. I doubt it helps any..
Quote:

public DMVCheck()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if (PlayerToPoint(2.0, i, 362.2238,173.6231,1008.382)
{
if(DMVName[i] == 0) { DMVMessage[i] = 0; }
ElevatorMessage[i] = 0;
}
}
}
return 1;
}

Reply
#5

These errors are usually caused by a missing bracket in the place you last edited.
Reply
#6

Any idea where to start looking for this missing bracket?
Edit: lol fail didnt read your post right i guess. Ight. I'll look
Fixed it. Thank you all so much for your fast replies.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)