30.08.2016, 11:29
So modified the tutorial a bit and now its this
Now the problem is that no checkpoint is showing.
And for the dealership bug here it is
Код:
if(CP[playerid] == 1) { DisablePlayerCheckpoint(playerid); CP[playerid] = 2; } if(CP[playerid] == 2) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1479.1576, -1811.2654, 13.5400, 3.0); // disables his checkpoint since he/she reached it SendClientMessage(playerid, 0x008000FF, "___PART 2____"); SendClientMessage(playerid, 0x008000FF, "Go to the City Hall to buy driver's license."); CP[playerid] = 3; } if(CP[playerid] == 3) { DisablePlayerCheckpoint(playerid); SendClientMessage(playerid, 0x008000FF, "___PART 3____"); SendClientMessage(playerid, 0x008000FF, "Go to the Bank to Withdraw/Save your money."); SetPlayerCheckpoint(playerid, 1457.0206, -1013.1943, 26.8438, 3.0); CP[playerid] = 4; } if(CP[playerid] == 4) { DisablePlayerCheckpoint(playerid); // disables his checkpoint since he/she reached it SendClientMessage(playerid, 0x008000FF, "You have completed the tutorial. Have a nice stay here.."); }
And for the dealership bug here it is
Код:
format(string, sizeof(string), "Would you like to purchase this %s\nThis vehicle costs $%s.", GetVehicleName(newcar), number_format(Businesses[iBusiness][bPrice][iSlot])); ShowPlayerDialog(playerid,DIALOG_CDBUY,DIALOG_STYLE_MSGBOX,"Buy Vehicle",string,"Buy","Cancel"); TogglePlayerControllable(playerid, false); return 1;