help me pls i add /ls /lv /sf and not wroked pls help
#6

I'll give you an example, written using ZCMD:

pawn Код:
CMD:ls(playerid, params[]) // command is /ls
{
    if(!IsPlayerAdmin(playerid)) // Is the player not an RCON admin?
        return false; // Nope, they are not an RCON admin- return false- stop the command.

    SetPlayerPos(playerid, POSX, POSY, POSZ); // Set the position. Replace POSX-POSZ with your coordinates.
    SendClientMessage(playerid, 0xFFFFFFFF, "Welcome to Los Santos."); // Send a message.
    return 1; // Command finished processing
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)