Bilal135 Posted October 23, 2014 Share Posted October 23, 2014 Hey, can there be a command ''isPedSkin" , it can be used something like this. addCommandHandler("stilllikedressingup", function(Player) if isPedSkin(Player, 219) then setPedSkin(Player, 290) else setPedSkin(Player, 0) end end ) Link to comment
Bilal135 Posted October 23, 2014 Author Share Posted October 23, 2014 Just found out that I could use, if getPedSkin(Player, 219) then Link to comment
lopezloo Posted October 23, 2014 Share Posted October 23, 2014 if getElementModel(Player) == 219 then Link to comment
Anubhav Posted October 23, 2014 Share Posted October 23, 2014 if getElementModel(Player) == 219 then Wait I guess I posted the getElementModel. Must have not clicked the submit button! Link to comment
Bilal135 Posted October 23, 2014 Author Share Posted October 23, 2014 if getElementModel(Player) == 219 then Wait I guess I posted the getElementModel. Must have not clicked the submit button! You did submit, but that was probably wrong, that is why any moderator removed it. And thanks lopez. Link to comment
Woovie Posted October 23, 2014 Share Posted October 23, 2014 if getElementModel(Player) == 219 then Wait I guess I posted the getElementModel. Must have not clicked the submit button! You did submit, but that was probably wrong, that is why any moderator removed it. And thanks lopez. It wasn't wrong, the reply was rude and a bit dimeaning so I removed it. Link to comment
DNL291 Posted October 24, 2014 Share Posted October 24, 2014 if getElementModel(Player) == 219 then Wait I guess I posted the getElementModel. Must have not clicked the submit button! You did submit, but that was probably wrong, that is why any moderator removed it. And thanks lopez. Read the wiki or ask in the Scripting section before posting here. Link to comment
Woovie Posted October 27, 2014 Share Posted October 27, 2014 Read the wiki or ask in the Scripting section before posting here. Clearly he couldn't figure out the function name, so how would the wiki help? It woudln't. Link to comment
Recommended Posts