#1

anyone can make /pgoto [ID] player goto another player and /pgos player disable /pgos

commands:

/Pgoto [ID] Player goto another player
/Pgos player disable teleporting
/pgoson player disable teleporting

thanks who made for me +REP <3
Reply
#2

THIS IS Scripting help not make for free
Reply
#3

You Just Shutup.. Kid i Dont need your Help.. And not like you stealing .pwn Code and give me and saying this is mine Fuu u kid.
Reply
#4

Код:
/Pgos player disable teleporting 
/pgoson player disable teleporting
What's that supposed to mean?

And as the person above me said, atleast try something and show us what you've made so we can correct you, instead of giving you the entire code.
Reply
#5

#milanosie
i want Player Goto System
Reply
#6

Example of teleport Command.

pawn Код:
CMD:goto(playerid,params[])
{
    if(pInfo[playerid][pLogged] == 1)
    {

        if(pInfo[playerid][pAdminLevel] >= 2)
        {
            new targetid;
            if(sscanf(params, "u", targetid)) SendClientMessage(playerid,-1,""chat" /goto [playerid]");
            if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid,-1,""chat" Player is not online");

            new Float:x,Float:y,Float:z,inter;
            GetPlayerPos(targetid,Float:x,Float:y,Float:z);
            inter = GetPlayerInterior(targetid);
            SetPlayerPosEx(playerid,Float:x,Float:y,Float:z,inter,0);
        }
        else {
            SendClientMessage(playerid,-1,""chat""COL_LIGHTBLUE" You do not have the right admin permissions for this command!");
        }
    }
    else if(pInfo[playerid][pLogged] == 0)
    {
        SendClientMessage(playerid,-1,""chat""COL_LIGHTBLUE" Nice try u ****"); //replace *** with any word u want xD.
        printf("%s has been kicked for trying to use a command without being logged in!", PlayerName(playerid));
        Kick(playerid);
    }
    return 1;
}
Reply
#7

Is This System For Normal Player Or Fr Admin ? #FahadKing ?
Reply
#8

For admin

Or for all players

pawn Код:
CMD:goto(playerid,params[])
{
    if(pInfo[playerid][pLogged] == 1)
    {

        if(pInfo[playerid][pAdminLevel] >= 0)
        {
            new targetid;
            if(sscanf(params, "u", targetid)) SendClientMessage(playerid,-1,""chat" /goto [playerid]");
            if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid,-1,""chat" Player is not online");

            new Float:x,Float:y,Float:z,inter;
            GetPlayerPos(targetid,Float:x,Float:y,Float:z);
            inter = GetPlayerInterior(targetid);
            SetPlayerPosEx(playerid,Float:x,Float:y,Float:z,inter,0);
        }
        else {
            SendClientMessage(playerid,-1,""chat""COL_LIGHTBLUE" You do not have the right admin permissions for this command!");
        }
    }
    else if(pInfo[playerid][pLogged] == 0)
    {
        SendClientMessage(playerid,-1,""chat""COL_LIGHTBLUE" Nice try u ****"); //replace *** with any word u want xD.
        printf("%s has been kicked for trying to use a command without being logged in!", PlayerName(playerid));
        Kick(playerid);
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)