10.02.2013, 10:57
pawn Код:
SendClientMessage(playerid, "You loaded your truck !")
pawn Код:
SendClientMessage(playerid, COLOR_GREEN, "You loaded your truck !");
pawn Код:
if(response)// They pressed the first button.
{
switch(dialogid, 2)
{
case 1:// Our dialog!
{
switch(listitem)// Checking which listitem was selected
{
case 0:// Weapons
{
SetPlayerCheckpoint(playerid, -322.9266,821.1814,14.2874, 5.0);
SendClientMessage(playerid, COLOR_YELLOW, "You have loaded some Weapon crates.)");
}
case 1: // Liquor
{
SetPlayerCheckpoint(playerid, -182.8844,1034.1738,19.7422, 5.0);
SendClientMessage(playerid, COLOR_YELLOW, "You have loaded some Liquor crates.");
}
case 2: // Potatoes
{
SetPlayerCheckpoint(playerid, -142.8067,1222.1426, 5.0);
SendClientMessage(playerid, COLOR_YELLOW, "You have loaded some Potato crates .");
}
}
}
}
}
return 1;