20.04.2009, 17:15
Yo i got some fucking errors while compiling this little filterscript, all I want to know is how can I fix this shit ?
and I get these errors :
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { new cmd[128], idx; if(!strcmp("/blah", cmdtext, true)) { if(PlayerToPoint(2.0,1633.2205,-1019.4009,23.8984)) { SendClientMessage(playerid, COLOR_YELLOW, "blah blah blah blah !"); GivePlayerWeapon(playerid,3,1); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1602.8052,-1009.7886,23.9063); GameTextForPlayer(playerid,"~w~BLAH BLAH ~y~BLAH BLAH ",5000,5); return 1; } return 0; }
Код:
C:\Documents and Settings\Toniu\Desktop\YoMama.pwn(156) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\Toniu\Desktop\YoMama.pwn(158) : error 029: invalid expression, assumed zero C:\Documents and Settings\Toniu\Desktop\YoMama.pwn(158) : warning 215: expression has no effect C:\Documents and Settings\Toniu\Desktop\YoMama.pwn(158) : error 001: expected token: ";", but found ")" C:\Documents and Settings\Toniu\Desktop\YoMama.pwn(158) : error 029: invalid expression, assumed zero C:\Documents and Settings\Toniu\Desktop\YoMama.pwn(158) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.