Knife from kitchen HELP
#5

pawn Код:
if(strcmp(cmdtext, "/knifeout", true, 9)== 0)
{
     if(IsPlayerInRangeOfPoint(playerid, 5, x, y, z) // substitute x, y, and z with your kitchen's coordinates.
     {
          new str[128], name[24];
          GetPlayerName(playerid, name, sizeof(name))
          format(str, sizeof(str), "*     %s takes a knife from the drawer.", name)
          SendClientMessageToAll(0xFFFF00AA, str); //0xFFFF00 is yellow. change to whatever you want.
          GivePlayerWeapon(playerid, 4, 0);
     }
     return 1;
}
Reply


Messages In This Thread
Knife from kitchen HELP - by Bluebay - 18.03.2011, 20:44
Re: Knife from kitchen HELP - by Rivera - 18.03.2011, 20:57
Re: Knife from kitchen HELP - by admantis - 18.03.2011, 20:58
Re: Knife from kitchen HELP - by Rivera - 18.03.2011, 21:00
Re: Knife from kitchen HELP - by austin070 - 18.03.2011, 21:01
Re: Knife from kitchen HELP - by Biesmen - 18.03.2011, 21:04
Re: Knife from kitchen HELP - by admantis - 18.03.2011, 21:08
Re: Knife from kitchen HELP - by Bluebay - 18.03.2011, 21:13
Re: Knife from kitchen HELP - by austin070 - 18.03.2011, 21:16
Re: Knife from kitchen HELP - by Biesmen - 18.03.2011, 21:16

Forum Jump:


Users browsing this thread: 1 Guest(s)