Credits to Superraz for the creation of the script!
1.Go to players.cpp
2. Find all the commands
3. Add the code under one of the commands
4. This will send them onto the Mu-Lung boat ride
5. To use this command, type... "!jail <playername>"
Code:else if(strcmp(command, "jail") == 0){ char *name = strtok_s(NULL, " ",&next_token); if (strlen(name) > 0) for (hash_map <int, Player*>::iterator iter = Players::players.begin(); iter != Players::players.end(); iter++) if (strcmp(iter->second->getName(), name) == 0) Maps::changeMap(iter->second , 200090300, 0); }


Reply With Quote


