if(dialogid == star)
{
if(response)
{
switch(listitem)
{
case 0:
{
SetPlayerAttachedObject(playerid, 0, 18649, 6, 0.07000, 0.03000, 0.80000, 90.000000, 0.000000, 0.000000, 1.3, 0.7, 2.3);
swords[playerid] = true;
GivePlayerWeapon(playerid, 8, 1);
}
case 1:
{
SetPlayerAttachedObject(playerid, 0, 18650, 6, 0.07000, 0.03000, 0.80000, 90.000000, 0.000000, 0.000000, 1.3, 0.7, 2.3);
swords[playerid] = true;
GivePlayerWeapon(playerid, 8, 1);
}
case 2:
{
SetPlayerAttachedObject(playerid, 0, 18648, 6, 0.07000, 0.03000, 0.80000, 90.000000, 0.000000, 0.000000, 1.3, 0.7, 2.3);
swords[playerid] = true;
GivePlayerWeapon(playerid, 8, 1);
}
case 3:
{
SetPlayerAttachedObject(playerid, 0, 18647, 6, 0.07000, 0.03000, 0.80000, 90.000000, 0.000000, 0.000000, 1.3, 0.7, 2.3);
swords[playerid] = true;
GivePlayerWeapon(playerid, 8, 1);
}
case 4:
{
SetPlayerAttachedObject(playerid, 0, 18652, 6, 0.07000, 0.03000, 0.80000, 90.000000, 0.000000, 0.000000, 1.3, 0.7, 2.3);
swords[playerid] = true;
GivePlayerWeapon(playerid, 8, 1);
}
case 5:
{
SetPlayerAttachedObject(playerid, 0, 18651, 6, 0.07000, 0.03000, 0.80000, 90.000000, 0.000000, 0.000000, 1.3, 0.7, 2.3);
swords[playerid] = true;
GivePlayerWeapon(playerid, 8, 1);
}
}
}
} |