quick help error 025
#1

public OnPlayerCommandText(cmdtext[])
{
if (strcmp("/njestg", cmdtext, true, 10) == 0)
{
MoveObject(deranje, 2720.30322, -2499.71338, 12.50087, 0.00000, 0.00000, 89.41450, 3.50);
SetTimer("dera", 5000, false); // Set a timer of 1000 miliseconds (1 second)
return 1;
}
if (strcmp("/dystg", cmdtext, true, 0) == 0)
{
MoveObject(derady, 2720.11230, -2401.01196, 12.45378, 0.00000, 0.00000, 89.28040, 3.50);
SetTimer("deraa", 5000, false); // Set a timer of 1000 miliseconds (1 second)
return 1;
}
return 0;
}

error line public OnPlayerCommandText(cmdtext[])

"error 025: function heading differs from prototype"
Reply


Messages In This Thread
quick help error 025 - by GrOobY - 16.06.2014, 18:21
Re: quick help error 025 - by kamiliuxliuxliux - 16.06.2014, 18:22
Re: quick help error 025 - by GrOobY - 16.06.2014, 18:24
Re: quick help error 025 - by GrOobY - 16.06.2014, 18:34
Re: quick help error 025 - by Eth - 16.06.2014, 18:35
Re: quick help error 025 - by GrOobY - 17.06.2014, 14:45

Forum Jump:


Users browsing this thread: 1 Guest(s)