[REQ]Example script.
#6

Quote:
Originally Posted by Niko_boy
Посмотреть сообщение
pawn Код:
new Worlds[MAX_PLAYERS]; // Global Var
//Reset it on Discconect / Connect

public OnPlayerText(playerid, text[])
{
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(!IsPlayerConnected(i)) continue;
            {
                if(GetPlayerVirtualWorld(i) == GetPlayerVirtualWorld(playerid))
                {
                    SendClientMessage(i, 0xFF0000FF, text);
                    return 0;
                }
                return 0;
            }
        }
     return 1;
}
Nothing was hard in it =___=
the above guy mentioned it perfectly though
I answer, how to create the command, use zcmd + sscanf.

but solved, thanks all.
Reply


Messages In This Thread
[REQ]Example script. - by TheBluec0de - 08.06.2012, 15:18
AW: [REQ]Example script. - by Tigerkiller - 08.06.2012, 15:25
Re: AW: [REQ]Example script. - by TheBluec0de - 08.06.2012, 16:17
Re: [REQ]Example script. - by TheBluec0de - 08.06.2012, 16:59
Re: [REQ]Example script. - by Niko_boy - 08.06.2012, 17:03
Re: [REQ]Example script. - by TheBluec0de - 08.06.2012, 17:14

Forum Jump:


Users browsing this thread: 5 Guest(s)