05.01.2012, 15:46
I made an /shop command, tested it in a filterscript and it worked
Now i placed it in a GM and it didnt work at all
Now i placed it in a GM and it didnt work at all
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/shop", true))
{
ShowPlayerDialog(playerid,55,DIALOG_STYLE_LIST,""COL_ORANGE"Shop","Vehicles\nWeapons","Select", "Cancel");
SendClientMessage(playerid,red,"If the shop doesn't pop up, it is unavaible for this mission!");
return 1;
}
return 0;
}