Looking For Gun Toys System
#1

I'm looking For Gun Toys System, gun objects (( gun toys )) Plus help : i have got Command /giveobject

Quote:

CMD:giveobject(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 133
{
new string[128], giveplayerid, object, slot;
if(sscanf(params, "udd", giveplayerid, object, slot)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /giveobject [playerid] [object] [slot]");

if(slot < 0 || slot > 5) return SendClientMessageEx(playerid, COLOR_WHITE, "* Invalid slot, must be between 0 and 5");
if( (object > 1212 && object < 1865 || (object > 18668 && object < 1874 || (object > 18865 && object < 18975) ||
(object > 19006 && object < 19053) || (object > 19077 && object < 19120) || (object > 19136 && object < 19142) || (object > 19160 && object < 19163) || object == 19200 || object == 19274)
{
if (IsPlayerConnected(giveplayerid))
{
PlayerToyInfo[giveplayerid][slot][ptModelID] = object;
PlayerToyInfo[giveplayerid][slot][ptBone] = 1;
format(string, sizeof(string), "You have given %s object %d in slot %d", GetPlayerNameEx(giveplayerid), object, slot);
SendClientMessageEx(playerid, COLOR_YELLOW, string);
SendClientMessageEx(giveplayerid, COLOR_WHITE, "You have received a new /toys from an administrator!");
}
}
else
{
SendClientMessageEx(playerid, COLOR_WHITE, "* Invalid object");
}
}
return 1;
}

i want to know Gun objects IDS
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)