how to fix /mpobject command to show toy names
#1

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;
}
Reply
#2

Yo bro use to put code from pawno
Reply
#3

To put your code in pawn use [PAWN] tags.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)