Quick Question
#1

I have the following command

if(strcmp(cmdtext, "/takeguns", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
{
ShowMenuForPlayer(gunmenu1,playerid);
return 1;
}
}

How can I make it available only if the player is in a certain place,X,Y,Z ?
Reply
#2

Use PlayerToPoint :P
Reply
#3

Example:
https://sampwiki.blast.hk/wiki/Automatic_Gates
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)