/gotopos command
#8

pawn Код:
CMD:gotopos(playerid, params[])
{
    new Float:Pos[3], int;
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on Admin Duty.");
    if(sscanf(params, "fffi", Pos[0], Pos[1], Pos[2], int)) return SendClientMessage(playerid, COLOR_WHITE, "[Usage]: /gotopos [x] [y] [z] [int]");
    SetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
    SetPlayerInterior(playerid, int);
    return 1;
}
Try that scripts.
Reply


Messages In This Thread
/gotopos command - by Kirchhoff - 16.05.2013, 11:12
Re: /gotopos command - by Red_Dragon. - 16.05.2013, 11:13
Re: /gotopos command - by Kirchhoff - 16.05.2013, 11:15
Re: /gotopos command - by Red_Dragon. - 16.05.2013, 11:18
Re: /gotopos command - by Pillhead2007 - 16.05.2013, 11:29
Re: /gotopos command - by Kirchhoff - 16.05.2013, 11:43
Re: /gotopos command - by jordy.kiesebrink - 16.05.2013, 11:47
Re: /gotopos command - by Latisha - 16.05.2013, 11:52
Re: /gotopos command - by SilverKiller - 16.05.2013, 11:54
Re: /gotopos command - by Red_Dragon. - 16.05.2013, 12:02

Forum Jump:


Users browsing this thread: 1 Guest(s)