Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Shepher & The Rev'
- else if((strncmp(comando, "move", 4) == 0) && (player->Status.Level >= 1000))
- {
- int x, y;
- if(sscanf(comando, "move %d %d", &x, &y))
- {
- if(x > 0 || x < 4058 || y > 0 || x < 4050)
- {
- sprintf(tmp, "Movido: %dx %dy", &x, &y);
- Teleport(clientid, x, y);
- SendClientMsg(clientid, tmp);
- }
- }
- else{
- SendClientMsg(clientid, "Coordenadas inválidas");
- return;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment