Gunpack System
#1

can someone make me a gunpack system cmds that i want for it:
/gunpack1 only avalible for 300 score
/gunpack2 only avalible for 500 score
/gunpack3 only for regular players

and i need a regular player system command for adding a player for regualr player:
/addrp id
/removerp id

Thank you.
Reply
#2

if you cant make me a gunpack system and rp system can you show me how i can make it ?>
Reply
#3

Score
Guns
For rp you should save a pvar and save it on a .ini
Reply
#4

Can you write me what I need to run in pawno
ANd in the ini
Reply
#5

pawn Код:
CMD:gunpack(playerid, params[])
{
    if(GetPlayerScore(playerid) >= 0) // regular player
    {
     GivePlayerWeapon(playerid, 22, 100); // you may change the weaps here
     GivePlayerWeapon(playerid, 25, 100);
     GivePlayerWeapon(playerid, 29, 100);
    }

 else if(GetPlayerScore(playerid) >= 300) // 300 score
   {
     GivePlayerWeapon(playerid, 24, 100);
     GivePlayerWeapon(playerid, 27, 100);
     GivePlayerWeapon(playerid, 32, 100);
   }
  else if(GetPlayerScore(playerid) >= 500) // 500 score
   {
     GivePlayerWeapon(playerid, 31, 130);
     GivePlayerWeapon(playerid, 34, 100);
     GivePlayerWeapon(playerid, 28, 230);
   }

return 1;
}
this use this
tell me if works !
Reply
#6

Ty it works but i need rp system to
Reply
#7

And if someone can please give me a good Cops And Robbers Gamemode so i can edit it please
if yes ty very much
Reply
#8

and it shows me this problem with the gunpack

C:\Users\Efriam\Desktop\Cops And Robbers\filterscripts\Gunpack.pwn(224) : warning 217: loose indentation
C:\Users\Efriam\Desktop\Cops And Robbers\filterscripts\Gunpack.pwn(237) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.

i am doing a filter script and it dosent works -.-
Reply
#9

And if you can show me how to make a command in pawno like show me what i need to edit and stuff
Reply
#10

This will solve the warnings:
pawn Код:
CMD:gunpack(playerid, params[])
{
    if(GetPlayerScore(playerid) >= 0) // regular player
    {
        GivePlayerWeapon(playerid, 22, 100); // you may change the weaps here
        GivePlayerWeapon(playerid, 25, 100);
        GivePlayerWeapon(playerid, 29, 100);
    }
    else if(GetPlayerScore(playerid) >= 300) // 300 score
    {
        GivePlayerWeapon(playerid, 24, 100);
        GivePlayerWeapon(playerid, 27, 100);
        GivePlayerWeapon(playerid, 32, 100);
    }
    else if(GetPlayerScore(playerid) >= 500) // 500 score
    {
        GivePlayerWeapon(playerid, 31, 130);
        GivePlayerWeapon(playerid, 34, 100);
        GivePlayerWeapon(playerid, 28, 230);
    }
    return 1;
}
Also, what do you mean with "rp system"?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)