18.10.2010, 23:15
Okay, I am making a License code and I need to know whether this is correct as the Checkpoint is not showing?
pawn Код:
if(dialogid == 2)
{
if(response)
{
new message[256+1];
new DMV;
if(listitem == 0)
{
format(message, 256, "You have chosen 'Drivers License' please drive carefully", listitem);
SendClientMessage(playerid, 0xFFFFFFFF, message);
DMV = AddStaticVehicle(405,-220.8077,1212.4143,19.6102,179.2256,24,1); //
{
if (IsPlayerInVehicle(playerid, DMV))
{
SetPlayerCheckpoint(playerid, -206.8228,1195.4480,19.4574, 3.0);
return 1;
}
}
}