Jump to content

Plate Vehicle


xXGhostXx

Recommended Posts

Hi guys !

Please fix my script for show plate car !

like : players in vehicle click on vehicle show plate !

function pelak(thePlayer)
    local mashin = getPedOccupiedVehicle(thePlayer)
	local pelak = getVehiclePlateText(mashin)
	if isPedInVehicle(thePlayer) then
	  outputChatBox("#00ff00Pelak In Veh "..pelak.." Mibashad!",thePlayer,255,255,255,true)
	else
	 outputChatBox("#ff0000[Error]:#ffffffShoma Dar Mashin Nistid!",thePlayer,255,255,255,true)
	end
end
addCommandHandler("pelak",pelak)

 

Link to comment

In the last 17 hours, you've made 5 topics and 3 of them provided you with fixed code, so don't pretend like it's "just this time." Please, for the sake of us all, get help from us to learn to script instead of leeching off the work of others. We're here to help, not work for you.

Please try it yourself just this time :(

Edited by MrTasty
  • Like 2
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...