Give all players
#5

Well, I was actually un-successful... This:

Код:
#include <a_samp>
public OnPlayerCommandText(playerid, cmdtext[])
    if (strcmp("/startevent", cmdtext, true, 10) == 0)
    {
        for(new i = 0; i < MAX_PLAYERS; i++) {
            if(IsPlayerConnected(i)) {
                PlayerPlaySound(i,1057,0.0,0.0,0.0);
                GivePlayerWeapon(i,31,350); 
                GivePlayerWeapon(i,24,350);
                GivePlayerWeapon(i,26,350); 
                GivePlayerWeapon(i,27,350); 
            }
        return 1;
    }
    return 0;
}
That shouldn't give ALL the players weapons? Right? I want it to be ALL players get weapons...
Reply


Messages In This Thread
Give all players - by SampStunta - 12.09.2010, 23:43
Re: Give all players - by willsuckformoney - 12.09.2010, 23:50
Re: Give all players - by Calgon - 13.09.2010, 07:10
Re: Give all players - by SampStunta - 13.09.2010, 08:27
Re: Give all players - by SampStunta - 13.09.2010, 10:24
Re: Give all players - by iggy1 - 13.09.2010, 11:19

Forum Jump:


Users browsing this thread: 6 Guest(s)