addClientCommand( "m0d_teleport_locations", (int)cmd_tele_locations );
addClientCommand( "go", (int)cmd_go );
void cmd_current_server ( char *param ) { addMessageToChatWindow( "Server Name: %s", g_SAMP->szHostname ); addMessageToChatWindow( "Server Address: %s:%i", g_SAMP->szIP, g_SAMP->ulPort ); addMessageToChatWindow( "Username: %s", getPlayerName(g_Players->sLocalPlayerID) ); }
void cmd_go( char *param ) { float coord[3]; int id = atoi(param); getPlayerPos(id, coord); cheat_teleport(coord,0); }