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 ) "Get busy living or get busy dying"
Bilal135 Posted October 23, 2014 Author Posted October 23, 2014 Just found out that I could use, if getPedSkin(Player, 219) then "Get busy living or get busy dying"
lopezloo Posted October 23, 2014 Posted October 23, 2014 if getElementModel(Player) == 219 then tell Obbe it happened again
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! See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
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. "Get busy living or get busy dying"
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. "The humble beet is the answer to all riddles." - Rolf
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. Please do not PM me with scripting related question nor support, use the forums instead.
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. "The humble beet is the answer to all riddles." - Rolf
Recommended Posts