I need a scripter
#1

I need a scripter that can script Carlito's roleplay. DOES NOT HAVE TO BE AN ADVANCED SCRIPTER AT THE MOMENT

Script List
-local OOC command(/b)
-action command (/do)


Only things I need a scripter for at the moiment,

Scripter will get level 5 admin

Private Message me or add me on MSN Azzeto@live.com
Reply
#2

bump..
Reply
#3

I think you need to review the forum rules. This thread is no more important than any other thread on this forum!

As for the two commands:

pawn Код:
CMD:do(playerid, params[])
{
    if(isnull(params))
        return SendClientMessage(playerid, COLOR_YELLOW, "SYNTAX: /do [enviornment]");

    new string[128];
    format(string, sizeof(string), "%s (( %s ))", params, GetName(playerid));
    SendNearbyMessage(playerid, COLOR_ME, string);
    return 1;
}

CMD:b(playerid, params[])
{
    if(isnull(params))
        return SendClientMessage(playerid, COLOR_YELLOW, "SYNTAX: /b [message]");
    if(strlen(params) > 90)
        return SendClientMessage(playerid, COLOR_WHITE, "ERROR: Your message cannot be longer than 90 characters.");

    new string[128];
    format(string, sizeof(string), "(( %s(%d): %s ))", GetName(playerid), playerid, params);
    SendNearbyMessage(playerid, COLOR_GREY, string);
    return 1;
}

stock SendNearbyMessage(playerid, color, string[])
{
    new Float:Pos[3];
    GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
    foreach(Player, i)
    {
        if(IsPlayerInRangeOfPoint(i, 20, Pos[0], Pos[1], Pos[2]))
            SendClientMessage(i, color, string);
    }
}
You will need the ZCMD and sscanf2 include files.
Reply
#4

@realcop222 Please help me with these errors.

Код:
C:\Documents and Settings\Jeremy\Desktop\Backup of Carlito's Roleplay\gamemodes\crp.pwn(16768) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Jeremy\Desktop\Backup of Carlito's Roleplay\gamemodes\crp.pwn(16768) : warning 215: expression has no effect
C:\Documents and Settings\Jeremy\Desktop\Backup of Carlito's Roleplay\gamemodes\crp.pwn(16768) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Jeremy\Desktop\Backup of Carlito's Roleplay\gamemodes\crp.pwn(16768) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Jeremy\Desktop\Backup of Carlito's Roleplay\gamemodes\crp.pwn(16768) : fatal error 107: too many error messages on one line
Reply
#5

Quote:
Originally Posted by R3G1ST3R
Посмотреть сообщение
@realcop222 Please help me with these errors.

Код:
C:\Documents and Settings\Jeremy\Desktop\Backup of Carlito's Roleplay\gamemodes\crp.pwn(16768) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Jeremy\Desktop\Backup of Carlito's Roleplay\gamemodes\crp.pwn(16768) : warning 215: expression has no effect
C:\Documents and Settings\Jeremy\Desktop\Backup of Carlito's Roleplay\gamemodes\crp.pwn(16768) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Jeremy\Desktop\Backup of Carlito's Roleplay\gamemodes\crp.pwn(16768) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Jeremy\Desktop\Backup of Carlito's Roleplay\gamemodes\crp.pwn(16768) : fatal error 107: too many error messages on one line
It appears at line 16768 you are missing either a closing parenthesis a semicolon.

pawn Код:
) or ;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)