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~!@#$^&*()_-+={[}]:;'<,>.?/", 1000, 0);
GameTextForPlayer(playerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 2000, 1);
GameTextForPlayer(playerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 3000, 2);
GameTextForPlayer(playerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 4000, 3);
GameTextForPlayer(playerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 5000, 4);
GameTextForPlayer(playerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 6000, 5);
GameTextForPlayer(playerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 7000, 6); 
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)