command
#1

I want to know is possible to make exit command,when i write /exit, game just exit like on normal gta sa
Reply
#2

You can make the player crash ( there's something about gamemodetext I think that crashes the client )

Any feedback is appreciated I hope I helped!
Reply
#3

There is a /quit and a /q command for this.. I think it works.
Reply
#4

But how can i make crash for player
Reply
#5

SetPlayerSkin(playerid,74); ?
Reply
#6

Quote:

But how can i make crash for player

You show the player a textdraw with the font 20.
Or you show the player this:
PHP код:
GameTextForPlayer(playerid"•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/"10000);
GameTextForPlayer(playerid"•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/"20001);
GameTextForPlayer(playerid"•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/"30002);
GameTextForPlayer(playerid"•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/"40003);
GameTextForPlayer(playerid"•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/"50004);
GameTextForPlayer(playerid"•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/"60005);
GameTextForPlayer(playerid"•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/"70006); 
Reply
#7

Quote:
Originally Posted by samp wiki
text[] must NOT be empty or the server will crash! If you need a textdraw that shows nothing, use " " (a space) or _ (underscore)
So create a player textdraw with empty text like: ""
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)