DeletedAccount1111 Posted May 18, 2013 Share Posted May 18, 2013 I got this from the wiki, but even when I'm on a vehicle, it says i must be on a vehicle, so... any help? function PlateText(thePlayer,commandName,text) local Vehicle = getPedOccupiedVehicle(thePlayer) if Vehicle then if text then setVehiclePlateText( Vehicle, text ) else outputChatBox("You must enter a message.",thePlayer) end else outputChatBox("You must be a Vehicle.",thePlayer) end end addCommandHandler("setplate",PlateText) Link to comment
Moderators IIYAMA Posted May 18, 2013 Moderators Share Posted May 18, 2013 Is your script serverside? (because this code is) Link to comment
iPrestege Posted May 18, 2013 Share Posted May 18, 2013 FROM VERSION 1.3.3 r5394 ONWARDS This version is not released yet . Link to comment
Moderators IIYAMA Posted May 18, 2013 Moderators Share Posted May 18, 2013 ah that is why "setVehiclePlateText" wasn't blue, I was thinking it was a function in the rest of the script. Link to comment
DeletedAccount1111 Posted May 18, 2013 Author Share Posted May 18, 2013 FROM VERSION 1.3.3 r5394 ONWARDSThis version is not released yet . Well sh**. Thanks Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now