Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
- {
- if(!pInfo[playerid][pAdmin] && !pInfo[playerid][pSetMark])
- {
- ACInfo[playerid][acCheckMapTP] = 1;
- ACInfo[playerid][acMapTPLastClick] = GetTickCount();
- ACInfo[playerid][acMapTP][0] = fX;
- ACInfo[playerid][acMapTP][1] = fY;
- ACInfo[playerid][acMapTP][2] = fZ;
- }
- if(gAdminLogged[playerid])
- {
- if(!pInfo[playerid][pSetMark] && pInfo[playerid][pAdmin] < ADM_ADMIN) return SendClientMessage(playerid, COLOR_GREY, "Доступно с 4 уровня администратора");
- SetPlayerPosFindZ(playerid, fX, fY, fZ);
- }
- if(pInfo[playerid][pSetMark])
- {
- SetPlayerPosFindZ(playerid, fX, fY, fZ);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement