[REQUEST]Need a Simple Script[REP++++]
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/gunpack1", cmdtext, true, 10) == 0)
    {
    GameTextForPlayer(playerid,"any comment you want when they use cmd!!",5000,2);
    GivePlayerWeapon(playerid,34,400);
    GivePlayerWeapon(playerid,35,400);
    GivePlayerWeapon(playerid,36,400);
    GivePlayerWeapon(playerid,37,400);
    GivePlayerWeapon(playerid,16,400);
    GivePlayerWeapon(playerid,17,400);
    GivePlayerWeapon(playerid,18,400);
    GivePlayerWeapon(playerid,3,400);
    GivePlayerWeapon(playerid,4,400);
    GivePlayerWeapon(playerid,5,400);
    GivePlayerWeapon(playerid,7,400);
    GivePlayerWeapon(playerid,8,400);
        return 1;
    }
    return 0;
if you need like score to unlock (GetPlayerScore(playerid) >= 0 && GetPlayerScore(playerid) <= 500

pawn Код:
if (GetPlayerScore(playerid) >= 0 && GetPlayerScore(playerid) <= 500)
    {
    SendClientMessage(playerid, COLOR_RED,"Your unlock gunpack - 1");
    }
    if (GetPlayerScore(playerid) >= 100)
Reply


Messages In This Thread
[REQUEST]Need a Simple Script[REP++++] - by Adarsh007 - 04.10.2014, 04:39
Re: [REQUEST]Need a Simple Script[REP++++] - by ThunderX - 04.10.2014, 04:56
Re : Re: [REQUEST]Need a Simple Script[REP++++] - by Adarsh007 - 04.10.2014, 06:13

Forum Jump:


Users browsing this thread: 1 Guest(s)