[HELP]World
#4

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(GetPlayerVirtualWorld(i) == GetPlayerVirtualWorld(playerid))
            {
                new str[128];
                format(str, sizeof(str), "%s says: %s", GetPlayerName(playerid), text);
                SendClientMessage(i, -1, str);
            }
            return 0;
        }
    }
EDIT:Changed params to text. Should work now.
Reply


Messages In This Thread
[HELP]World - by TheBluec0de - 09.06.2012, 15:44
Re: [HELP]World - by Jonny5 - 09.06.2012, 15:49
Re: [HELP]World - by TheBluec0de - 09.06.2012, 15:51
Re: [HELP]World - by JhnzRep - 09.06.2012, 15:53
Re: [HELP]World - by Jonny5 - 09.06.2012, 15:55
Re: [HELP]World - by TheBluec0de - 09.06.2012, 15:55
Re: [HELP]World - by JhnzRep - 09.06.2012, 15:56
Re: [HELP]World - by Jonny5 - 09.06.2012, 15:57
Re: [HELP]World - by TheBluec0de - 09.06.2012, 15:57
Re: [HELP]World - by JhnzRep - 09.06.2012, 16:01

Forum Jump:


Users browsing this thread: 2 Guest(s)