Dio skripte: Evo dio za speedo
if(newstate == PLAYER_STATE_DRIVER && PLAYER_STATE_ONFOOT || newstate == PLAYER_STATE_PASSENGER && oldstate == PLAYER_STATE_ONFOOT)
{
UpaliTDVozilo(playerid);
return 1;
}
if(newstate == PLAYER_STATE_ONFOOT && oldstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_ONFOOT && oldstate == PLAYER_STATE_PASSENGER)
{
UgasiTDVozilo(playerid);
return 1;
}A evo ovaj za taksi
if(oldstate == PLAYER_STATE_DRIVER && newstate == PLAYER_STATE_ONFOOT)
{
if(PlayerInfo == 23)
{
SetActorPos(fare_actor, 0, 0, 0);
HasClientBeenAlerted = false;
IsPlayerDoingAFare = false;
DestinationCheckpointCheck = false;
DisablePlayerCheckpoint(playerid);
new v_id = GetPlayerVehicleID(playerid);
Delete3DTextLabel(PassengerLabel);
SendClientMessage(playerid, -1, "{F9E200}:{FFFFFF} Ja izgubivte porackata bidejki go napustivte voziloto.");
return 1;
}
new v_id = GetPlayerVehicleID(playerid);
Delete3DTextLabel(PassengerLabel);
}Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema(obavezno ako je ingame problem): //