TroyBoy Posted February 19, 2012 Share Posted February 19, 2012 there is a function to set a skin model by the model the player wright in the game? Link to comment
Kenix Posted February 19, 2012 Share Posted February 19, 2012 (edited) local skins = { [ 18 ] = "Black Beachguy"; [ 45 ] = "Beach Mustache"; [ 92 ] = "Rollergirl"; [ 96 ] = "Soccer Player"; [ 97 ] = "Baywatch Dude"; [ 138 ] = "Bikini Tattoo"; [ 139 ] = "Yellow Bikini"; [ 140 ] = "Buxom Bikini"; [ 154 ] = "Beach Blonde"; [ 251 ] = "Lifeguard"; [ 252 ] = "Naked Freak"; [ 7 ] = "Casual Jeanjacket"; [ 10 ] = "Old Fat Lady"; [ 14 ] = "Floral Shirt"; [ 15 ] = "Plaid Baldy"; [ 20 ] = "Fresh Prince"; [ 23 ] = "Skater Kid"; [ 32 ] = "Eyepatch"; [ 39 ] = "Old Maid"; [ 53 ] = "Golf Lady"; [ 54 ] = "Hispanic Woman"; [ 56 ] = "Legwarmers 1"; [ 58 ] = "Chinese Plaid"; [ 60 ] = "Chinese Casual"; [ 62 ] = "Pajama Man 1"; [ 69 ] = "Denim Girl"; [ 72 ] = "Bearded Hippie"; [ 88 ] = "Casual Old Lady"; [ 93 ] = "Hoop Earrings 1"; [ 101 ] = "Jacket Hippie"; [ 136 ] = "Old Rasta"; [ 142 ] = "African 1"; [ 143 ] = "Sam Jackson"; [ 170 ] = "PubeStache Tshirt"; [ 182 ] = "Pajama Man 2"; [ 184 ] = "Neckbeard"; [ 188 ] = "Green Shirt"; [ 215 ] = "Explorer"; [ 217 ] = "Staff Guy"; [ 218 ] = "Old Woman"; [ 220 ] = "African 2"; [ 221 ] = "Beardo Casual"; [ 222 ] = "Beardo Clubbing"; [ 224 ] = "Elderly Asian 1"; [ 225 ] = "Elderly Asian 2"; [ 226 ] = "Legwarmers 2"; [ 229 ] = "Asian Tourist"; [ 231 ] = "Grannie"; [ 232 ] = "Grouchy lady"; [ 233 ] = "Hoop Earrings 2"; [ 234 ] = "Buzzcut"; [ 236 ] = "Happy Old Man"; [ 250 ] = "Green Tshirt"; [ 262 ] = "Pajama Man 2 b"; [ 20 ] = "Fresh Prince"; [ 91 ] = "Sharon Stone"; [ 143 ] = "Sam Jackson"; [ 147 ] = "Sigmund Freud"; [ 240 ] = "Hugh Grant"; [ 251 ] = "Lifeguard"; [ 258 ] = "Joe Pesci"; [ 259 ] = "Chris Penn"; [ 31 ] = "Fat Cowgirl"; [ 33 ] = "Bounty Hunter"; [ 34 ] = "Marlboro Man"; [ 44 ] = "Tatooed Plaid"; [ 128 ] = "Native Rancher"; [ 129 ] = "Native Librarian"; [ 130 ] = "Native Ugly"; [ 131 ] = "Native Sexy"; [ 132 ] = "Native Geezer"; [ 133 ] = "Furys Trucker"; [ 157 ] = "Farmer Girl"; [ 158 ] = "Farmer"; [ 159 ] = "Farmer Redneck"; [ 160 ] = "Bald Redneck"; [ 161 ] = "Smoking Cowboy"; [ 162 ] = "Inbred"; [ 196 ] = "Aunt May"; [ 197 ] = "Smoking Maid"; [ 198 ] = "Ranch Cowgirl"; [ 199 ] = "Heidi"; [ 200 ] = "Hairy Redneck"; [ 201 ] = "Trucker Girl"; [ 202 ] = "Beer Trucker"; [ 236 ] = "Happy Old Man"; [ 261 ] = "Southerner"; [ 25 ] = "Varsity jacket"; [ 66 ] = "Varsity Bandits"; [ 56 ] = "Legwarmers 1"; [ 226 ] = "Legwarmers 2"; [ 221 ] = "Beardo Casual"; [ 222 ] = "Beardo Clubbing"; [ 247 ] = "Biker Vest"; [ 254 ] = "Biker Vest b"; [ 71 ] = "Security Guard"; [ 163 ] = "Casino Bouncer 1"; [ 164 ] = "Casino Bouncer 2"; [ 165 ] = "Agent Kay"; [ 166 ] = "Agent Jay"; [ 277 ] = "Fireman LS"; [ 278 ] = "Fireman LV"; [ 279 ] = "Fireman SF"; [ 274 ] = "Medic 1"; [ 275 ] = "Medic 2"; [ 276 ] = "Medic 3"; [ 73 ] = "Flag Bandana"; [ 179 ] = "War Vet"; [ 287 ] = "Army"; [ 190 ] = "Barbara Schternvart"; [ 246 ] = "Cop Stripper"; [ 280 ] = "Cop 1"; [ 281 ] = "Cop 2"; [ 282 ] = "Cop 3"; [ 283 ] = "Cop 4"; [ 284 ] = "Cop 5"; [ 285 ] = "SWAT"; [ 286 ] = "FBI"; [ 288 ] = "Cop 6"; [ 10 ] = "Old Fat Lady"; [ 31 ] = "Fat Cowgirl"; [ 38 ] = "Old Golf Lady"; [ 39 ] = "Old Maid"; [ 53 ] = "Golf Lady"; [ 54 ] = "Hispanic Woman"; [ 88 ] = "Casual Old Lady"; [ 89 ] = "Cleaning Lady"; [ 103 ] = "Baller Jacket"; [ 103 ] = "Baller Jacket"; [ 105 ] = "Grove Sweater"; [ 130 ] = "Native Ugly"; [ 151 ] = "Melanie"; [ 182 ] = "Pajama Man 2"; [ 197 ] = "Smoking Maid"; [ 199 ] = "Heidi"; [ 207 ] = "Grove Booty"; [ 218 ] = "Old Woman"; [ 231 ] = "Grannie"; [ 232 ] = "Grouchy lady"; [ 245 ] = "Ghetto Ho"; [ 258 ] = "Joe Pesci"; [ 259 ] = "Chris Penn"; [ 9 ] = "Business Lady"; [ 17 ] = "Black suit"; [ 57 ] = "Chinese Businessman"; [ 61 ] = "Pilot"; [ 76 ] = "Businesswoman 1"; [ 141 ] = "Cute Librarian"; [ 147 ] = "Sigmund Freud"; [ 148 ] = "Businesswoman 2"; [ 149 ] = "Businesswoman 2 b"; [ 150 ] = "Businesswoman 3"; [ 169 ] = "Asian Escort "; [ 186 ] = "Teacher"; [ 187 ] = "Japanese Businessman 1"; [ 219 ] = "Lady In Red"; [ 227 ] = "Japanese Businessman 2"; [ 228 ] = "Japanese Businessman 3"; [ 255 ] = "Limo Driver"; [ 263 ] = "Asian Hostess"; [ 49 ] = "Ninja Sensei"; [ 80 ] = "Red Boxer"; [ 81 ] = "Blue Boxer"; [ 180 ] = "Bball Player"; [ 203 ] = "Ninja 1"; [ 204 ] = "Ninja 2"; [ 114 ] = "Aztecas Stripes"; [ 115 ] = "Aztecas Jacket"; [ 116 ] = "Aztecas Shorts"; [ 13 ] = "Homegirl"; [ 102 ] = "Baller Shirt"; [ 103 ] = "Baller Jacket"; [ 104 ] = "Baller Sweater"; [ 100 ] = "Biker Blackshirt"; [ 247 ] = "Biker Vest"; [ 248 ] = "Biker Headband"; [ 254 ] = "Biker Vest b"; [ 121 ] = "Da Nang Army"; [ 122 ] = "Da Nang Bandana"; [ 123 ] = "Da Nang Shades"; [ 0 ] = "CJ"; [ 105 ] = "Grove Sweater"; [ 106 ] = "Grove Topbutton"; [ 107 ] = "Grove Jersey"; [ 207 ] = "Grove Booty"; [ 125 ] = "Mafia Enforcer"; [ 126 ] = "Mafia Wiseguy"; [ 127 ] = "Mafia Hitman"; [ 173 ] = "Rifa Hat"; [ 174 ] = "Rifa Vest"; [ 175 ] = "Rifa Suspenders"; [ 111 ] = "Russian Muscle"; [ 112 ] = "Russian Hitman"; [ 113 ] = "Russian Boss"; [ 120 ] = "Sindacco Suit"; [ 124 ] = "Sindacco Muscle"; [ 117 ] = "Triad 1"; [ 118 ] = "Triad 2"; [ 119 ] = "Triad 3"; [ 108 ] = "Vagos Topless"; [ 109 ] = "Vagos Pants"; [ 110 ] = "Vagos Shorts"; [ 19 ] = "Beach Gangsta"; [ 21 ] = "Striped Gangsta"; [ 22 ] = "Orange Sportsman"; [ 28 ] = "Black Dealer"; [ 29 ] = "White Dealer"; [ 30 ] = "Religious Essey"; [ 47 ] = "Top Button Essey"; [ 67 ] = "Red Bandana"; [ 143 ] = "Sam Jackson"; [ 241 ] = "Afro Brother"; [ 242 ] = "Dreadlock Brother"; [ 243 ] = "Ghetto Booty"; [ 190 ] = "Barbara Schternvart"; [ 191 ] = "Helena Wankstein"; [ 192 ] = "Michelle Cannes"; [ 193 ] = "Katie Zhan"; [ 194 ] = "Millie Perkins"; [ 195 ] = "Denise Robinson"; [ 77 ] = "Bag Lady"; [ 78 ] = "Homeless Scarf"; [ 79 ] = "Fat Homeless"; [ 95 ] = "Poor Old Man"; [ 134 ] = "Homeless Smoker"; [ 135 ] = "Skullcap Hobo"; [ 137 ] = "Boxhead"; [ 200 ] = "Hairy Redneck"; [ 212 ] = "Tin Foil Hat"; [ 213 ] = "Hobo Elvis"; [ 230 ] = "Hooded Hobo"; [ 43 ] = "Porn Producer"; [ 46 ] = "Dark Romeo"; [ 59 ] = "Chinese Romeo"; [ 185 ] = "Nervous Guy"; [ 223 ] = "Greasy Nightclubber"; [ 240 ] = "Hugh Grant"; [ 43 ] = "Porn Producer"; [ 63 ] = "Trashy Hooker"; [ 64 ] = "Transvestite"; [ 75 ] = "Skanky Hooker"; [ 85 ] = "Furcoat Hooker"; [ 87 ] = "Firecrotch"; [ 90 ] = "Barely Covered"; [ 152 ] = "Schoolgirl 1"; [ 178 ] = "Masked Stripper"; [ 237 ] = "Leopard Hooker"; Edited February 19, 2012 by Guest Link to comment
TroyBoy Posted February 19, 2012 Author Share Posted February 19, 2012 ok and can i create a few spawns that when player dies he go to a random spawn of all the spawn i mean to do a random spawns can i do this ? Link to comment
Kenix Posted February 19, 2012 Share Posted February 19, 2012 (edited) Updated again. See my post. Edited February 19, 2012 by Guest Link to comment
TroyBoy Posted February 19, 2012 Author Share Posted February 19, 2012 ty and can you answer my second question and can i set a timer to a mute Link to comment
Kenix Posted February 19, 2012 Share Posted February 19, 2012 ty and can you answer my second question and can i set a timer to a mute Yes. Link to comment
TroyBoy Posted February 19, 2012 Author Share Posted February 19, 2012 so how can i do that the timer will be the time of what the player write in the game i mean the player write he will be muted for 10 seconds and the timer will be set for 10 seconds and after this he will be unmuted? oh and i have problem with this command: addCommandHandler ( "jetpack", function () local playerTeam = getPlayerTeam ( source ) if not playerTeam then return end local name = getTeamName ( playerTeam ) if name == "Owner" or name == "Admin" then local px, py, pz = getElementPosition ( source ) createPickup ( px, py, pz, "3", "370", "30000" ) end end ) it dosent create a jetpack Link to comment
Kenix Posted February 19, 2012 Share Posted February 19, 2012 Server addCommandHandler ( "jetpack", function ( player ) local playerTeam = getPlayerTeam ( player ) if playerTeam then local name = getTeamName ( playerTeam ) if name == "Owner" or name == "Admin" then local px, py, pz = getElementPosition ( player ) createPickup ( px, py, pz, 3, 370, 30000 ) end end end ) Because arguments need number( not string ). And you not add player to arguments command handler function. See on wiki. 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