[help] Error AGAIN ;S ;sigh;
#1

i got the error:
Код:
(388) : error 029: invalid expression, assumed zero
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if(strcmp(cmdtext,"/open", true) == 0
{ // this is line 338
	MoveObject(gate,-293.828,1507.450,76.070,1.5000);
	SetTimer("closegate", 7000, false);
	return 1;
}
Reply
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext,"/open", true) == 0) //<== you forgot )
{
    MoveObject(gate,-293.828,1507.450,76.070,1.5000);
    SetTimer("closegate", 7000, false);
    return 1;
}
Reply
#3

Quote:
Originally Posted by <Krys>
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext,"/open", true) == 0) //<== you forgot )
{
    MoveObject(gate,-293.828,1507.450,76.070,1.5000);
    SetTimer("closegate", 7000, false);
    return 1;
}
Lol xD thnx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)