why do i get error?
#1

FILE LOCATION: error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/mycommand", cmdtext, true, 10) == 0)
	{
	    if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438))
 {
        SendClientMessage(playerid,0xFFFFFFFF,"You are near the stadium entrance!");
		// Do something here
		return 1;
	}
	return 0;
}
This is the line of code
Reply
#2

PHP код:
{
    if (
strcmp("/mycommand"cmdtexttrue10) == 0)
    {
        if(
IsPlayerInRangeOfPoint(playerid7.02695.6880, -1704.630011.8438))
         {
        
SendClientMessage(playerid,0xFFFFFFFF,"You are near the stadium entrance!");
        return 
1;
        }
    }
    return 
0;

try this ?
Reply
#3

Thank you very much!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)