Very small issue with a script.
#1

Ok so I was working on only allowing players to be able to buy mask only if they are in this certain point (on the script), seems like it doesn't work, they can use it all the time .
PHP код:
 if(strcmp(cmdtext,"/Mask",true) == 0)
{
for(new 
0MAX_PLAYERSi++)
 
ShowPlayerNameTagForPlayer(i,playerid,0);
 if(
IsPlayerConnected(playerid))
 if(
Mask == 0)return SendClientMessage(playerid,0xFF6C6CFF,"You don't have a mask !");
 if(
IsPlayerInRangeOfPoint(playerid11588.2670,-2324.5415,1461.6630))
 
DisableNameTagLOS();
  
GameTextForPlayer(playerid"~W~You have put ~g~ on"50005);
 return 
1;
 } 
Reply


Messages In This Thread
Very small issue with a script. - by Scriptissue - 29.09.2010, 19:11
Re: Very small issue with a script. - by Scenario - 29.09.2010, 19:22
Re: Very small issue with a script. - by Scriptissue - 29.09.2010, 19:38
Re: Very small issue with a script. - by Cameltoe - 29.09.2010, 19:44
Re: Very small issue with a script. - by Scriptissue - 29.09.2010, 19:49

Forum Jump:


Users browsing this thread: 1 Guest(s)