|
![]() |
#1 |
Little Clucker
![]() Join Date: Dec 2018
Posts: 23
Reputation: 0
|
![]()
Hello i am Jason and im working in this script and i want to make a cmd with /blindfold and /unblindfold for example.
When you type that cmd its supposed to get the selected player's screen black to where he cant see anything except the normal GTA HUD and the chat, but i dont know how to make it. can you please help me? Oh and this cmd will be used for roleplay not as an admin cmd. |
![]() |
![]() |
![]() |
#2 |
Big Clucker
![]() ![]() Join Date: Feb 2015
Location: Scotland, Glasgow
Posts: 175
Reputation: 11
|
![]()
You will need to freeze the player when blindfolded and then show a textdraw which would be a black box over the whole screen with most cases. Simply create the textdraw or find one online, which is black and covers the whole screen. Remove/apply the textdraw with /blindfold and /unblindfold.
https://wiki.sa-mp.com/wiki/TextDrawCreate https://wiki.sa-mp.com/wiki/CreatePlayerTextDraw You can find a textdraw editor under the filterscripts tab, this is one of them: https://forum.sa-mp.com/showthread.p...light=Textdraw |
![]() |
![]() |
![]() |
#3 |
Little Clucker
![]() Join Date: Dec 2018
Posts: 23
Reputation: 0
|
![]()
Thank you a lot! +REP
|
![]() |
![]() |
![]() |
#4 |
Huge Clucker
![]() ![]() ![]() Join Date: Apr 2017
Location: Valhalla
Posts: 278
Reputation: 70
|
![]()
Or the easier version, freeze the player, SetPlayerCameraPos to a dark place and for the /unblindfold just SetCameraBehindPlayer.
|
![]() |
![]() |
![]() |
#5 |
Little Clucker
![]() Join Date: Dec 2018
Posts: 23
Reputation: 0
|
![]()
Both of theese are cool ideas but they seem impossible for me to do alone. Thanks a lot ill find someone to help me now
|
![]() |
![]() |
![]() |
#6 | |
Huge Clucker
![]() ![]() ![]() Join Date: Sep 2016
Location: Croatia
Posts: 239
Reputation: 22
|
![]() Quote:
pawn Code:
|
|
![]() |
![]() |
![]() |
#7 | |
Little Clucker
![]() Join Date: Dec 2018
Posts: 23
Reputation: 0
|
![]()
Thanks a lot dude it really helped me a lot! But how to fix this lol
Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
Huge Clucker
![]() ![]() ![]() Join Date: Mar 2019
Location: Coordinates X,Y,Z
Posts: 323
Reputation: 22
|
![]() Quote:
https://wiki.sa-mp.com/wiki/SetPlayerCameraLookAt |
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FilterScript] Blindfold (useful for screenshots!) | TheToretto | Filterscripts | 10 | 10/11/2018 08:17 AM |
Help with YCMD proces command and problem with "Server:Unknown command | JoDe | Scripting Help | 1 | 20/04/2018 01:12 PM |
Blindfold system | huydollar | Scripting Help | 3 | 29/06/2014 08:02 AM |
i had this command in my gamemode, when i type this in game,it tells server unknow command? | Chrisli520 | Scripting Help | 3 | 24/11/2013 11:02 AM |
/blindfold | Pujan2008 | Help Archive | 35 | 11/04/2009 05:28 PM |