19.10.2010, 16:50
pawn Код:
if(dialogid == 2)
{
if(response)
{
new string[64], DMV;
if(listitem == 0)
{
format(string, 64, "You have chosen 'Drivers License' please drive carefully", listitem);
SendClientMessage(playerid, 0xFFFFFFFF, string);
DMV = CreateVehicle(405,-220.8077,1212.4143,19.6102,179.2256,24,1, -1);
if(IsPlayerInVehicle(playerid, DMV))
{
SetPlayerCheckpoint(playerid, -206.8228,1195.4480,19.4574, 3.0);
return 1;
}
}
}
}