14.03.2014, 09:30
I will change this
to your code?
And where i will put it ?
PHP код:
if(dialogid == 1)
{
if(response)
{
if(PlayerInfo[playerid][pDonator]==1)
}
if (listitem == 1)
{
GivePlayerHeal(playerid, 100);
format(string, sizeof(string), "* %s has got full HP", sendername);
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
}
}
}
PHP код:
if(response)
{
switch(dialogid)
{
case YOUR_DIALOG_NAME: //Change this to what ever your dialog is defined as
{
switch(listitem)
{
case 0:
{
//The first lot of items here
}
case 1:
{
//Second lot of items
}
case 2:
{
//And you guessed it, the third lot of items
}
}