No, you add this:
if(strcmp("jail",cmdtext,true) == 0)
{
SetPlayerPos(playerid,390.6279,-507.9221,9.3956,0); // playerid, x, y, z, interior
SendClientMessage(playerid,COLOR_GREEN,"You have been teleported to the jail!"); // playerid, color, message
return 1;
}
To OnPlayerCommandText, anywhere in there. Then use /c jail in-game.