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

<Removed>
Reply
#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
#3

Quote:
Originally Posted by ThunderX
Посмотреть сообщение
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)
You Really Not tell me How to Create the Pickup that only Regular Player Can pick it up and the remaining /gunpack system I Already Finded a Way Just waiting for the Grant Regular Status by ADmin now I Really not need it ! thanks Anyway :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)