07.10.2013, 07:04
so my script should look like this?
pawn Код:
CMD:backashark(playerid, params[])
{
if(PlayerInfo[playerid][pAdminLevel] < 5)
{
new string[140];
new sharktime1 = MoveObject(Shark, 3225.66357, -1858.81152, 0.35000, 2.00);
GameTextForPlayer(playerid,"~b~Shark is Moving!",2500, 3);
SendClientMessage(playerid, COLOR_RED, "Shark is getting back to it's original place!!");
format(string, sizeof(string), "The shark will return back to it's original position in %d MilliSeconds", sharktime1);
SendClientMessage(playerid, 0xFFFF00AA, string);
}
else return SendClientMessage(playerid, COLOR_GREY,"You are not authorized to use that command");
return 1