16.06.2014, 18:21
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"
{
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"