Error with command [Solved] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Error with command [Solved] (
/showthread.php?tid=116558)
Error with command [Solved] -
Pawno_Master - 29.12.2009
Код:
if (strcmp("/enter", cmdtext, true, 6) == 0)
{
IsPlayerInRangeOfPoint(playerid, 2.0, 2057.4463,-1057.4189,353.4954);
{
SetPlayerPos(playerid,2057.4463,-1057.4189,353.4954);
SendClientMessage(playerid,0xAA3333AA,"You have entered the ballas crib");
}
else
{
SendClientMessage(playerid,0xAA33333AA,"[Error]You can't enter nothing");
}
}
this is my command.
This is my error:
Код:
C:\scripts voor anderen\ballashqgamemode.pwn(87) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: Error with command [unsolved] -
M4S7ERMIND - 29.12.2009
Код:
if(IsPlayerInRangeOfPoint(playerid, 2.0, 2057.4463,-1057.4189,353.4954))
Re: Error with command [unsolved] -
Pawno_Master - 29.12.2009
Lol thanks missed that