SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 12/01/2017, 08:48 AM   #1
MarkNelson
Huge Clucker
 
MarkNelson's Avatar
 
Join Date: Feb 2016
Location: Tunisia
Posts: 319
Reputation: 25
Default Asking for explain

Hello all samp forums users, today i have a question.
I don't know how to make /infect cmd working with skins only not teams.
I searched in google and i didn't find anything shows how to make it.
So Can Someone Explain for me How to make it?
I'm working on Zombie GM
I hope you to help me, thank you for reading this post
MarkNelson is offline   Reply With Quote
Old 12/01/2017, 09:01 AM   #2
Lordzy
High-roller
 
Join Date: Mar 2012
Location: NetherRealm
Posts: 2,823
Reputation: 1074
Default Re: Asking for explain

Skin changes are occurred only under class selection and by using SetPlayerSkin except some cases where the player would bug to be CJ. I'm not sure how you'd want to infect your player. You can either hook SetPlayerSkin or run a timer every 'x' seconds to detect skin changes and infect accordingly.
__________________
[Include]safeDialogs - Complete protection against dialog responses! (dialog ids, list-items, input-text of list-item and user)

I don't play at any SA-MP servers now. If you see anyone with my name, that's not me.
Lordzy is offline   Reply With Quote
Old 12/01/2017, 09:11 AM   #3
MarkNelson
Huge Clucker
 
MarkNelson's Avatar
 
Join Date: Feb 2016
Location: Tunisia
Posts: 319
Reputation: 25
Default Re: Asking for explain

okay thanks
MarkNelson is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Could someone explain? Audi_Quattrix Scripting Help 0 23/11/2013 03:36 AM
Can someone explain me this efrim123 Scripting Help 6 15/10/2013 01:37 AM
Could you explain me something? Ballu Miaa Scripting Help 2 14/12/2011 04:09 PM
Can someone explain? lsrgta Help Archive 5 07/05/2011 09:41 PM
Can anyone help me and explain to me ElChapoGuzman Help Archive 9 08/03/2011 06:17 AM


All times are GMT. The time now is 02:18 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.