CMD:bay4(playerid, params[])
{
MoveObject(fdbay4, 682.19921875,1847.19921875,6.59000015, 2.0,0.00000000,0.00000000,79.99694824);
return 1;
}
C:\Users\Luca\Desktop\APRP GM\Server209 - Copia\gamemodes\base.pwn(1567) : warning 202: number of arguments does not match definition |
new obj; // Somewhere at the top of your script
public OnGameModeInit() { obj = CreateObject(980, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); return 1; }
public OnPlayerCommandText(playerid, cmdtext[]) { CMD:name(playerid,params[]) { new string[50]; new movetime = MoveObject(obj, 0, 0, 10, 2.00); format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime); SendClientMessage(playerid, 0xFF000000, string); return 1; } return 0; }
to the above: zcmd doesn't come under any callback
__________________________________________ editops |
to the above: zcmd doesn't come under any callback
__________________________________________ editops |