30.03.2012, 15:06
There is no function 'IsPlayerVip'
And that other you make it wrong
And that other you make it wrong
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)
{
case 1:
{
if(response)
{
switch(listitem)
{
case 1:
{
SetPlayerHealth(playerid, 100.0);
}
case 2:
{
SetPlayerArmour(playerid, 100.0);
}
case 3:
{
GivePlayerWeapon(playerid, 35, 5000);
GivePlayerWeapon(playerid, 36, 5000);
GivePlayerWeapon(playerid, 38, 5000);
GivePlayerWeapon(playerid, 37, 5000);
}
}
}
return 1;
}
// here other shit
case 2:
{
}
}
return 1;
}