I need this system player.Immunity
So now tell me
1. Its syntax
2. the default immunity(like world is 1 or 0)
Already asked a dozen on the forum. Search!
what difficult for this ? if playerImmunity is 255 then no one will kill him if his immunity is 0 then play like a normal
And WTF is playerImmunity?
Noob detected
Destroying statement "You Know What Peoples Call me Noob But Remember In Life The Man Who Called Noob is best of you all"
Noob has been successfully destroyed
True purpose of server done
Exitting...
Btw it uses flags and flags define "whatproof" the player is. For example fireproof, bulletproof, et cetera.
They appear like this in binary ...<flag3><flag2><flag1>
More detailed explanation by Stormeus
Quote from: NE.CrystalBlue on Aug 27, 2015, 05:06 AMAnd WTF is playerImmunity?
Noob detected
Destroying statement "You Know What Peoples Call me Noob But Remember In Life The Man Who Called Noob is best of you all"
Noob has been successfully destroyed
True purpose of server done
Exitting...
What the Fuck??
Hmm NE.Crystal to whom are u saying, Finchdon don't post sh!t out here, SLC told to search, so i can search it too
Oye and yes if player immunity is 255 can he/she fall down?
Quote from: KAKAN on Aug 27, 2015, 08:33 AMOye and yes
What is That
Quote from: KAKAN on Aug 27, 2015, 08:33 AMOye and yes if player immunity is 255 can he/she fall down?
I Don't know but i think if player press window button his immunity set to 255 he can fall down but hp is remain same
Wiki source updated.
By me, Here (http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions/Player.Immunity)
Ty
But your code won't work as there is no GetTok function in-built in an server and GetPlayer too
Quote from: StormeusBinary | Hex | Dec | Field
---------------------------------------
0b00001 | 0x1 | 1 | bulletproof
0b00010 | 0x2 | 2 | fireproof
0b00100 | 0x4 | 4 | explosion-proof
0b01000 | 0x8 | 8 | collision-proof
0b10000 | 0x10 | 16 | melee-proof
0 means no immunity to any damage, 31 means immunity to all damage. You can add all the numbers together or use bitwise OR/AND to toggle flags.
Just searching forum can solve almost many problems
Quote from: Xmair on Aug 27, 2015, 10:49 AMWiki source updated.
By me, Here (http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions/Player.Immunity)
Maybe its more understandable now?
Quote from: soulshaker on Aug 27, 2015, 07:17 PMQuote from: StormeusBinary | Hex | Dec | Field
---------------------------------------
0b00001 | 0x1 | 1 | bulletproof
0b00010 | 0x2 | 2 | fireproof
0b00100 | 0x4 | 4 | explosion-proof
0b01000 | 0x8 | 8 | collision-proof
0b10000 | 0x10 | 16 | melee-proof
0 means no immunity to any damage, 31 means immunity to all damage. You can add all the numbers together or use bitwise OR/AND to toggle flags.
Just searching forum can solve almost many problems
Quote from: Xmair on Aug 27, 2015, 10:49 AMWiki source updated.
By me, Here (http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions/Player.Immunity)
Maybe its more understandable now?
Yeah, It is. Thanks. I was in my university or I was gonna do it that way :)