Mask System ID's
#4

If you are checking if the person is masked.
And you have a method of storing each mask per player.

Simply make a stock function...

example
/pay 123_123 1

Once typed.
IT would go to the function...
.
IsMasked(playerid) {

Make a foreach statement..
Loop through all connected players
if the player is connected {
Do they have a mask on
If they have a mask on {
Is there mask ID == to the input ID of /pay
if it is == to the input ID of the mask



SIMPLY

return i


Once returned i;
It will return back to the /pay command

i == target
Reply


Messages In This Thread
Mask System ID's - by dionisak0s - 26.06.2015, 11:55
Re: Mask System ID's - by Prokill911 - 26.06.2015, 12:10
Re: Mask System ID's - by dionisak0s - 26.06.2015, 12:17
Re: Mask System ID's - by Prokill911 - 26.06.2015, 12:29
Re: Mask System ID's - by dionisak0s - 26.06.2015, 12:44
Re: Mask System ID's - by Prokill911 - 26.06.2015, 12:46
Re: Mask System ID's - by dionisak0s - 26.06.2015, 13:31
Re: Mask System ID's - by rappy93 - 26.06.2015, 13:34
Re: Mask System ID's - by Prokill911 - 26.06.2015, 13:44
Re: Mask System ID's - by dionisak0s - 26.06.2015, 15:05

Forum Jump:


Users browsing this thread: 1 Guest(s)