19.02.2013, 08:16
it is zcmd so u just
So if you want a /heal cmd
Also there is a dialog i made "DIALOG_SHOP", if u read the code u will see many "dialog_NAME123id"
just add something to the list of dialog_shop.... which is under the /vshop cmd..... and then create a dialog
by just add thing
Once you read the code it is completely understandable... I made it easy to edit by anyone......
pawn Code:
CMD:function(playerid, params[])
{
// all this space here its 4 u........
return 1;
}
pawn Code:
CMD:heal(playerid, params[])
{
SetPlayerHealth(playerid, 100);
return 1;
}
/*
Or
*/
CMD:heal(playerid, params[])
{
new playerb;
if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "/heal [playerid]");
SetPlayerHealth(playerb, 100);
return 1;
}
just add something to the list of dialog_shop.... which is under the /vshop cmd..... and then create a dialog
by just add thing
pawn Code:
if(listitem == whats ever next on the list)
{
// do something here
}