ZCMD isn't working :/ ?
#8

pawn Код:
CMD:goto(playerid, params[])
{
    new targetid;
    if(IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFFFFFFAA, "You do not have the right admin permissions for this command!");
    if(sscanf(params, "u", targetid)) return SendClientMessage(playerid, 0xFFFFFFAA,"/goto [playerid]");
    if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, 0xFFFFFFAA" Player is not online");
    new Float:x,Float:y,Float:z;
    GetPlayerPos(targetid,Float:x,Float:y,Float:z);
    SetPlayerPos(playerid, Float:x, Float:y, Float:z);
    return 1;
}
Reply


Messages In This Thread
ZCMD isn't working :/ ? - by Le3aT - 01.12.2013, 07:04
Re: ZCMD isn't working :/ ? - by Le3aT - 01.12.2013, 07:20
Re: ZCMD isn't working :/ ? - by Tomix - 01.12.2013, 07:26
Re: ZCMD isn't working :/ ? - by newbie scripter - 01.12.2013, 07:32
Re: ZCMD isn't working :/ ? - by Le3aT - 01.12.2013, 07:42
Re: ZCMD isn't working :/ ? - by Avi Raj - 01.12.2013, 07:44
Re: ZCMD isn't working :/ ? - by Tomix - 01.12.2013, 07:48
Re: ZCMD isn't working :/ ? - by iZN - 01.12.2013, 08:34
Re: ZCMD isn't working :/ ? - by Threshold - 01.12.2013, 10:15

Forum Jump:


Users browsing this thread: 5 Guest(s)