12.04.2013, 00:41
ok i use /mpobject to give users toys but it appears in /toys like this example: Slot 0, None (Bone:Spine)
the none = the toy name. Here is my code
CMD:mpobject(playerid, params[])
{
if(PlayerInfo[playerid][pShopTech] == 1)
{
ShowPlayerDialog(playerid, SHOPOBJECT_ORDERID, DIALOG_STYLE_INPUT, "Shop Objects - Order ID", "Please enter the Order ID", "OK", "Cancel");
}
else
{
SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command.");
return 1;
}
return 1;
}
the none = the toy name. Here is my code
CMD:mpobject(playerid, params[])
{
if(PlayerInfo[playerid][pShopTech] == 1)
{
ShowPlayerDialog(playerid, SHOPOBJECT_ORDERID, DIALOG_STYLE_INPUT, "Shop Objects - Order ID", "Please enter the Order ID", "OK", "Cancel");
}
else
{
SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command.");
return 1;
}
return 1;
}