13.11.2009, 20:34
Hello to all, i know to make gate wich can open team or organisation, but how to done gate wich just one player can open. For ex. player Oliver_Ben can open that gate and noone else?
<> Commands & Function <> - There is only one function you can use of this include: > AddAutoGate(modelid,Float:cX,Float:cY,Float:cZ,Flo at:rX,Float:rY,Float:rZ,FloatX,FloatY,FloatZ ,namecanenter[24],open_distance) modelid - objectid cX - closedgate X coord cY - closedgate Y coord cZ - closedgate Z coord rX - rotation X coord rY - rotation Y coord rZ - rotation Z coord oX - opengate X coord oY - opengate Y coord oZ - opengate Z coord namecanenter - Full or Part of the PlayerName of the Player/Clan that can enter open_distance - radius, in which a player has to be that the gate opens |
new pName[MAX_PLAYER_NAME];
pName = GetPlayerName(playerid);
Originally Posted by retart441
pawn Код:
pawn Код:
|