Only giving weapons to ID 0
#5

Quote:
Originally Posted by cloudysky
Посмотреть сообщение
Thanks! It works!

One more problem though, I've set the player skill to 0 for the correct weapon but on his screen he spawns with 2 colts and on mine he only has 1? Whats gone wrong?
Not sure about your problem I quoted, but you really shouldn't be using a timer for that unless it's completely needed. You could easily do:

pawn Код:
if(PlayerInfo[playerid][New] == 0)
{
    if (gTeam[playerid] == TEAM_LSPD)
    {
        GivePlayerWeapon(playerid, 29, 500);
        GivePlayerWeapon(playerid, 22, 9999);
    }
    else
    {
        GivePlayerWeapon(playerid, 28, 1000);
        GivePlayerWeapon(playerid, 22, 9999);
    }
    PlayerInfo[playerid][New] = 1;
    return 1;
}
Reply


Messages In This Thread
Only giving weapons to ID 0 - by cloudysky - 10.07.2011, 19:10
Re: Only giving weapons to ID 0 - by Libra_PL - 10.07.2011, 19:14
Re: Only giving weapons to ID 0 - by cloudysky - 10.07.2011, 19:17
Re: Only giving weapons to ID 0 - by cloudysky - 10.07.2011, 19:22
Re: Only giving weapons to ID 0 - by Skylar Paul - 10.07.2011, 19:51

Forum Jump:


Users browsing this thread: 2 Guest(s)