05.06.2016, 16:47
case DIALOG_LOCATIONS:
{
if(response)
{
new message[100];
format(message, 100, "You have successfully marked {FF6347}%s{FFFFFF} on your map.",Locs[listitem][locName]);
SendClientMessage(playerid, -1, message);
SendClientMessage(playerid, -1, "In order to remove the checkpoint, type {FF6347}/killcheckpoint{FFFFFF}.");
PlayerInfo[playerid][pLocations] = SetPlayerRaceCheckpoint(PlayerInfo[playerid][pShowtheway_ID], 2, Locs[listitem][locX], Locs[listitem][locY], Locs[listitem][locZ], 0, 0, 0, 3.0);
}
}
{
if(response)
{
new message[100];
format(message, 100, "You have successfully marked {FF6347}%s{FFFFFF} on your map.",Locs[listitem][locName]);
SendClientMessage(playerid, -1, message);
SendClientMessage(playerid, -1, "In order to remove the checkpoint, type {FF6347}/killcheckpoint{FFFFFF}.");
PlayerInfo[playerid][pLocations] = SetPlayerRaceCheckpoint(PlayerInfo[playerid][pShowtheway_ID], 2, Locs[listitem][locX], Locs[listitem][locY], Locs[listitem][locZ], 0, 0, 0, 3.0);
}
}