Bilal135 Posted October 23, 2014 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 )
Bilal135 Posted October 23, 2014 Author Posted October 23, 2014 Just found out that I could use, if getPedSkin(Player, 219) then
Anubhav Posted October 23, 2014 Posted October 23, 2014 if getElementModel(Player) == 219 then Wait I guess I posted the getElementModel. Must have not clicked the submit button!
Bilal135 Posted October 23, 2014 Author 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.
Woovie Posted October 23, 2014 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.
DNL291 Posted October 24, 2014 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.
Woovie Posted October 27, 2014 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.
Recommended Posts