07.10.2013, 06:44
ok but in my script it like this
there are bunch more stuff are there i just wanted cmd set LVL 1 To LVL 7 and give a example
pawn Код:
CMD:backaship(playerid, params[])
{
if(IsPlayerAdmin(playerid) )
{
new string[120];
new shiptime1 = MoveObject(Ship, 3249.76074, -1915.40479, 14.25000, 5.00); //Move the Ship (Object) to the next island
MoveObject(Ship1, 3249.91553, -1915.26013, 14.06402, 5.00); //Move the second part of the Ship (Object) to the next island
GameTextForPlayer(playerid,"~b~Admin Ship Moving!",2500, 3); //Normal Text in the middle of the screen
SendClientMessage(playerid, COLOR_PURPLE, "Admin Ship moving to the next island!"); //Sends the player a message
format(string, sizeof(string), "The ship will arrive at the Main Island in %d MilliSeconds", shiptime1);
SendClientMessage(playerid, 0xFFFF00AA, string);
}
else return SendClientMessage(playerid, COLOR_GREY,"You are not authorized to use that command");
return 1;