03.02.2010, 20:55
Hey All
Heres the problem:
Lines of it:
Please help me fix it...
Thanks
Heres the problem:
pawn Код:
C:\Documents and Settings\Administrator\щемзп дтбегд\чйцешй гшк\ощзчйн\samp03asvr_R3_win32\gamemodes\grandlarc.pwn(471) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\щемзп дтбегд\чйцешй гшк\ощзчйн\samp03asvr_R3_win32\gamemodes\grandlarc.pwn(479) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\щемзп дтбегд\чйцешй гшк\ощзчйн\samp03asvr_R3_win32\gamemodes\grandlarc.pwn(490) : error 030: compound statement not closed at the end of file (started at line 471)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
new idx;
new cmd[256];
cmd = strtok(cmdtext, idx);
if(strcmp(cmd, "/enter", true) == 0) {
if(PlayerToPoint(25.0,playerid,1331.5435,-631.6592,109.1349))//LS Outside
{
SendClientMessage(playerid,COLOR_LIGHTBLUE,"Welcome Home!");
SetPlayerPos(playerid, 2003.1180, 2413.1821, 10.8494);
return 1;
}
if(strcmp(cmd, "/exit", true) == 0) {
if(PlayerToPoint(25.0,playerid,2003.1180, 2413.1821, 10.8494))//Inside House
{
SendClientMessage(playerid,COLOR_LIGHTBLUE,"Have A Good-Day!");
SetPlayerPos(playerid, 1331.5435,-631.6592,109.1349);
return 1;
}
return 0;
}
Thanks