SA-MP Forums Archive
Simple tp command isn't working - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Simple tp command isn't working (/showthread.php?tid=531839)



Simple tp command isn't working - Djsoulhart - 14.08.2014

Okay, my friend and I are trying to fix his script so he can start up his own server; but we came upon an error I can't seem to fix.

Error log and the code

We defined all the colors
as shown here


Anyone have any idea's or help for us?


Respuesta: Simple tp command isn't working - Cepillado - 14.08.2014

Erase the
Код:
return 1;
}
below the "/smb" command


Re: Respuesta: Simple tp command isn't working - Inquisitive - 14.08.2014

Quote:
Originally Posted by Cepillado
Посмотреть сообщение
Erase the
Код:
return 1;
}
below the "/smb" command
Not the command that i wanted. It didn't teleport me to the respective area.


Respuesta: Simple tp command isn't working - Cepillado - 14.08.2014

Perhaps you have the wrong coordinates, is it still showing any errors?


Re: Respuesta: Simple tp command isn't working - Inquisitive - 14.08.2014

Quote:
Originally Posted by Cepillado
Посмотреть сообщение
Perhaps you have the wrong coordinates, is it still showing any errors?
No errors, But when i typed /smb

Nothing. Only a default menu shows up


Respuesta: Simple tp command isn't working - Cepillado - 14.08.2014

Try adding the return 1; inside of the /smb command brackets.


Re: Respuesta: Simple tp command isn't working - Inquisitive - 14.08.2014

Quote:
Originally Posted by Cepillado
Посмотреть сообщение
Try adding the return 1; inside of the /smb command brackets.
Well, i used zcmd. So now everything is working.