SA-MP Forums Archive
rp commands. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: rp commands. (/showthread.php?tid=332303)



rp commands. - oscar7610 - 07.04.2012

Hi Im finding very difficult to create /act [action] command /s for shout and /n for ooc.

I manage to create /me only.

Plus I cant hear players from far away. bigears its called how to fix it?


Re: rp commands. - Jonny5 - 07.04.2012

without any code I don't think anyone will be able to help you
we know nothing about your script except you want these commands.

we don't even know if your using strcmp,dcmd,zcmd,ycmd, ect.. ect...
i'm not trying to be rude, I cannot guess what your script looks like
if you'd like help then post more info and some code you need fixed,
along with any errors you may be getting


Re: rp commands. - oscar7610 - 07.04.2012

Im not using anything just standard.
#include <a_samp>
#include <sscanf2>
#include <SII>
#include <dini>
#include <streamer>
#define MAX_REMOVED_OBJECTS 500
#include <removebuilding>


Re: rp commands. - Jack.7331 - 07.04.2012

Lemme whip something up.
Will post when done.


Re: rp commands. - Jack.7331 - 07.04.2012

pawn Код:
CMD:act(playerid, params[])
{
    new
        action[128],
        user[MAX_PLAYER_NAME];
       
    if(sscanf(params, "s", params)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /act [action]");

    else {
    GetPlayerName(playerid, user, sizeof user);
    format(action, sizeof(action), "* %s ((%s))", params, user);
    }
    return 1;
}



Re: rp commands. - oscar7610 - 07.04.2012

thanks man! but im not using zcmd or anything just straight.