28.05.2018, 00:33
for first, take care of brackets.
you must replace Colt45 with SDColt45. you can simply make this replacement with giving the player weapon ID 23 (for example - GivePlayerWeapon(playerid, 23, 0);)
PHP код:
CMD:usp(playerid, params[])
{
GivePlayerWeapon(playerid, 22, 10);
SendClientMessage(playerid, COLOR_AQUA, "You have been given a Colt 45");
return 1;
}