- 0
Intrebare.
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Ryder_RO
Am o intrebare legata de scripting desigur
)
Deci eu am asa
CMD:stunt( playerid, params[ ] ) { if( sscanf( params, "i", params[ 0 ] ) ) return SendClientMessage( playerid, -1, "USAGE: < /stunt[ 1 - 150 ] >" ); switch( params[ 0 ] ) { case 1: AddTeleport ( playerid , "Stunt1", "~r~Stunt~g~1", 1838.4784, -1450.1213, 13.5628, 344.1002, 0, 0 ); //ETC } return 1; }cum pot sa adaug astaTeleTD("NumeCMD"); TeleportPlayer(playerid, X, Y, Z,"NUMECMD", 0);Ca sa apara in TD numele fiecarei comenzi .E un mod ceva mai usor sa trebuie sa adaug la fiecare case: si acele 2. la fel am si la drift 1 53CMD:drift( playerid, params[ ] ) { if( sscanf( params, "i", params[ 0 ] ) ) return SendClientMessage( playerid, -1, "USAGE: < /drift[ 1 - 53 ] >" ); switch( params[ 0 ] ) { case 1: SetPlayerPos(playerid, -329.3348,1536.3771,76.6117); ///etc } return 1; }4 answers to this question
Recommended Posts