A problem with PlayerToPoint
#5

With:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])            // <-- Line 70
  if(strcmp(cmdtext, "/enter", true) == 0) // BANK           <-- Line 71
  {
    if(PlayerToPoint(6.0, playerid, 1462.3953,-1011.4509,26.8438)); // <-- Line 73
  }
  {
    SetPlayerPos(playerid, 2305.1880,-16.1371,26.7422,278.6509);  // <-- Line 76
  }
return 1;                              // <-- Line 78
}

it gives me two errors:

pawn Код:
C:\Documents and Settings\¤¤¤¤¤¤¤\Desktop\test.pwn(73) : error 036: empty statement
C:\Documents and Settings\¤¤¤¤¤¤¤\Desktop\test.pwn(78) : error 010: invalid function or declaration
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
A problem with PlayerToPoint - by Jay420 - 23.02.2010, 10:29
Re: A problem with PlayerToPoint - by [WSM]Deadly_Evil - 23.02.2010, 10:30
Re: A problem with PlayerToPoint - by Jay420 - 23.02.2010, 10:31
Re: A problem with PlayerToPoint - by VonLeeuwen - 23.02.2010, 10:33
Re: A problem with PlayerToPoint - by Jay420 - 23.02.2010, 10:39
Re: A problem with PlayerToPoint - by Torran - 23.02.2010, 10:41
Re: A problem with PlayerToPoint - by VonLeeuwen - 23.02.2010, 10:46
Re: A problem with PlayerToPoint - by Torran - 23.02.2010, 10:47
Re: A problem with PlayerToPoint - by Jay420 - 23.02.2010, 10:51
Re: A problem with PlayerToPoint - by VonLeeuwen - 23.02.2010, 11:12
Re: A problem with PlayerToPoint - by Torran - 23.02.2010, 11:15
Re: A problem with PlayerToPoint - by MenaceX^ - 23.02.2010, 11:17
Re: A problem with PlayerToPoint - by VonLeeuwen - 23.02.2010, 11:30
Re: A problem with PlayerToPoint - by dice7 - 23.02.2010, 11:37

Forum Jump:


Users browsing this thread: 1 Guest(s)