Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public checkparea(playerid)
- {
- if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
- {
- if(IsPlayerInRangeOfPoint(playerid, 8.0, 1246.7843,-767.4252,92.0726))
- {
- new Float:TempX, Float:TempY, Float:TempZ;
- GetPlayerPos(playerid, TempX, TempY, TempZ);
- if(TempX == PosX[playerid] && TempY == PosY[playerid] && TempZ == PosZ[playerid])
- {
- }
- else
- {
- GetPlayerPos(playerid, PosX[playerid], PosY[playerid], PosZ[playerid]);
- MoveObject(riderstor,1245.698364, -767.397156, 83.123962,4.0);
- SetTimer("closegate", 3000, 0);
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement