13.07.2012, 15:26
It's working cool and fine. But everytime I use right click it goes back to red marker. How to I disable that?
Code below:
Code below:
Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
new Babatz = GetPlayerVehicleID(playerid);
if(!Babatz) SetPlayerPos(playerid, fX, fY, fZ);
else {new Batz = GetPlayerVehicleSeat(playerid);SetVehiclePos(Babatz,fX,fY,fZ);PutPlayerInVehicle(playerid,Babatz,Batz);}
return 1;
}



thanks mate.