[Tutorial] Gunpack System Tutorial
#1

Hello i am showing you today how to make gunpack for cops and robbers

So Clearly its very easy and you can actually do with it fun
pawn Код:
CMD:gunpack1(playerid, params[]);
{
    if(GetPlayerScore(playerid) >=  300); //its the score that you need to use this command
   {
    GivePlayerWeapon(playerid, 22, 100); // you may change the weaps here
    GivePlayerWeapon(playerid, 25, 100);
    GivePlayerWeapon(playerid, 29, 100);
    SendClientMessage(playerid, 0xFF0055, "You Have Used GunPack1");
   }
    else return SendClientMessage(playerid, 0xFFFFFF, "You do not have enough score to use this command.");
    return 1;
}
Reply
#2

Even the code you showed us which was taken from a script is wrong:
Error 1:
pawn Код:
CMD:gunpack1(playerid, params[]);

Error 2:
pawn Код:
if(GetPlayerScore(playerid) >=  300);
Please stop creating stupid tutorials which AREN'T even tutorials!
Reply
#3

It's a good tutorial, except the way you've spaced your brackets out, except the fact you made 2 errors hence the post above mine, except the fact that you've not got very good grammar, except the fact you never explained that you're using ZCMD and you never told us where to put this code, except the fact that you're not telling us how this code is working.

So in other words, 0/10.
Reply
#4

it works with score if you have 300 score it will work if not it wont
and also the code is working for me fine
Reply
#5

easy and simple, plus you have 2 mistakes in the script
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)