O--------------------M------------------------G
you just have to change !stubby to wep name
E.G
else if (strcmp(cmd, "Stubby", true) == 0) {
to
else if (strcmp(cmd, "M4", true) == 0) {
and 2nd thing u just have to change
e.g
SetPlayerWeapon(playerid,21,9999);
to
SetPlayerWeapon(playerid,26,9999);
21 to 26
and take help of vcmp_doc weapon id list Pdf file that you have [Lovely.Sky]
or anyone give link of that!
any put this in
OnPlayerCommand
you just have to change !stubby to wep name
E.G
else if (strcmp(cmd, "Stubby", true) == 0) {
to
else if (strcmp(cmd, "M4", true) == 0) {
and 2nd thing u just have to change
e.g
SetPlayerWeapon(playerid,21,9999);
to
SetPlayerWeapon(playerid,26,9999);
21 to 26
and take help of vcmp_doc weapon id list Pdf file that you have [Lovely.Sky]
or anyone give link of that!
any put this in
OnPlayerCommand