SA-MP Forums Archive
Roleplay Scripting [HELP] - 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: Roleplay Scripting [HELP] (/showthread.php?tid=294081)



Roleplay Scripting [HELP] - Michael[NBK] - 31.10.2011

Hey,

I have just started scripting my Roleplay server and would like to know how to add /b /ooc /l. Also how to add /cuff and /tazer

Please make the tazer equip the colt.45 silenced.

Thanks


Re: Roleplay Scripting [HELP] - [GOD]Dragonster82 - 31.10.2011

https://sampforum.blast.hk/showthread.php?tid=187229

Took me 5 seconds to find it, and...

Learn from other scripts, we ain't gunna do your spoon-feeding, read the tutorials.


Re: Roleplay Scripting [HELP] - $India$ - 31.10.2011

SA-MP WIKIIIIIIIIIIIIIIIIIIIIIIIII


AW: Roleplay Scripting [HELP] - Santox14 - 31.10.2011

Local OOC:

pawn Code:
CMD:l(playerid,params[])
{
    new n[24],string[128];
    GetPlayerName(playerid,n,24);
    new Float:x,Float:y,Float:z;
    GetPlayerPos(playerid,x,y,z);
    for(new i=0;i<MAX_PLAYERS;i++)
    {
        if(IsPlayerInRangeOfPoint(i,10,x,y,z))
        {
            format(string,128,"((Local OOC: %s: %s ))",n,params);
            SendClientMessage(i,0xFFFFFFFF,string);
        }
    }
    return 1;
}