Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- elseif cmdtext == "/woda" then
- if Player[playerid].grupa == 2 then
- local x,y,z = GetPlayerPos(playerid);
- if x > 31290 and x < 4128 and z > 6083 and z < 21695 then
- SetPlayerPos(playerid,31290,4128,21695);
- SetPlayerAngle(playerid,149);
- local drop1 = random(1);
- if drop1 == 0 then
- SendPlayerMessage(playerid, 255,255,255,"Wiadomość");
- GiveItem(playerid, "ITAT_SHADOWFUR", 1)
- elseif drop1 == 1 then
- SendPlayerMessage(playerid, 255,255,255,"Wiadomość");
- GiveItem(playerid, "ITAT_SHADOWFUR", 1)
- else
- GameTextForPlayer(playerid,2500,4000,"W tym miejscu nie ma wejścia na wieżę.","Font_Old_10_White_Hi.TGA",255,176,97,3000);
- end
- else
- GameTextForPlayer(playerid,2500,4000,"Bez właściwego klucza nigdy tego nie otworzę.","Font_Old_10_White_Hi.TGA",255,176,97,3000);
- end
- elseif cmdtext == "/wieza zejdz" then
- if Player[playerid].grupa == 2 then
- local x,y,z = GetPlayerPos(playerid);
- if x > 10161 and x < 10460 and z > 5965 and z < 6237 then
- SetPlayerPos(playerid,9817,365,6276);
- SetPlayerAngle(playerid,237);
- else
- GameTextForPlayer(playerid,2500,4000,"W tym miejscu nie ma zejścia z wieży.","Font_Old_10_White_Hi.TGA",255,176,97,3000);
- end
- else
- GameTextForPlayer(playerid,2500,4000,"Bez właściwego klucza nigdy tego nie otworzę.","Font_Old_10_White_Hi.TGA",255,176,97,3000);
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement